-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.e.it.census.gov:terraform/support
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| # AWS SSO: Creating SSO Groups | ||
|
|
||
| # About | ||
|
|
||
| # Creating SSO Group from existing System Common | ||
|
|
||
| # Details | ||
|
|
||
| * Below steps documented are for creating a new group called csvd-iac-poc in Lab. | ||
|
|
||
| * Every group uses a data resource to find the user id, so the user has to be in idc already | ||
| * Anyone in the below yml needs to be in users.csv (infrastructure/global/sso/users.csv) | ||
|
|
||
| * Network Account | ||
| * Choose the appropriate network account. | ||
| * in `infrastructure/global/sso/permissionsets/{TEMPLATE}`. | ||
| * Make new directory | ||
| * eg. `infrastructure/global/sso/permissionsets/sc-developer` | ||
| * mkdir csvd-iac-poc | ||
| * copy TEMPLATE/* {new_directory} | ||
| * cp TEMPLATE/* csvd-iac-poc | ||
| * cd to the new directory | ||
| * eg. cd csvd-iac-poc | ||
| ## Initialize the environment | ||
| ```script | ||
| tf-run init | ||
| tf-run apply | ||
| ````` | ||
| ```script | ||
| COMMAND rename GROUP csvd-iac-poc GROUP* | ||
| `````` | ||
| * edit `new-directory*.tf and yml and put in the proper values` | ||
| * eg csvd-iac-poc-sc-developer.yml | ||
| * group: csvd-iac-poc-sc-developer | ||
| * description: "CSVD IAC POC SC Developer" | ||
| * all: false | ||
| * account_names: | ||
| - lab-dev-ew | ||
| * account_ids: [] | ||
| * org_ous: [] | ||
| * users: [] | ||
| * csvd-iac-poc-sc-developer.group.tf | ||
| * locals- add the correct group | ||
| * rename module name | ||
|
|
||
| ## Once changes are completed | ||
| * tf-plan | ||
| * tf-plan summary | ||
| * commit, push, and PR |