Created
November 24, 2016 23:37
-
-
Save SteveHoggNZ/02c3266987f0ee17c5d9125ea910cc2f to your computer and use it in GitHub Desktop.
AWS / MFA + CLI / CloudFormation / Example / Users
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Resources": { | |
"BarbaraUser" : { | |
"Type": "AWS::IAM::User", | |
"Properties": { | |
"Groups": [ { "Fn::ImportValue": "MFAGroupsStack-BossGroup" } ], | |
"UserName": "barbara" | |
} | |
}, | |
"MaryUser" : { | |
"Type": "AWS::IAM::User", | |
"Properties": { | |
"Groups": [ { "Fn::ImportValue": "MFAGroupsStack-MarketingGroup" } ], | |
"UserName": "mary" | |
} | |
}, | |
"MatthewUser" : { | |
"Type": "AWS::IAM::User", | |
"Properties": { | |
"Groups": [ { "Fn::ImportValue": "MFAGroupsStack-MarketingGroup" } ], | |
"UserName": "matthew" | |
} | |
}, | |
"StewartUser" : { | |
"Type": "AWS::IAM::User", | |
"Properties": { | |
"Groups": [ { "Fn::ImportValue": "MFAGroupsStack-SalesGroup" } ], | |
"UserName": "stewart" | |
} | |
}, | |
"SamUser" : { | |
"Type": "AWS::IAM::User", | |
"Properties": { | |
"Groups": [ { "Fn::ImportValue": "MFAGroupsStack-SalesGroup" } ], | |
"UserName": "sam" | |
} | |
}, | |
"StanUser" : { | |
"Type": "AWS::IAM::User", | |
"Properties": { | |
"Groups": [ | |
{ "Fn::ImportValue": "MFAGroupsStack-BossGroup" }, | |
{ "Fn::ImportValue": "MFAGroupsStack-MarketingGroup" }, | |
{ "Fn::ImportValue": "MFAGroupsStack-SalesGroup" } | |
], | |
"UserName": "stan" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment