Add new AWS users
Using gds-cli
This utility is being replaced with cod-cli (https://github.com/GovWifi/cod-cli).
The remainder of this section is retained until everyone has migrated to cod-cli
You can add new AWS users to the GovWifi AWS accounts by following the instructions below:
-
Ensure the person has been added to the central AWS user management account gds-users, if they haven’t they can request to be added via this form.
-
Verify with the GovWifi developers whether to grant
adminorread-onlyaccess. Only team members with security clearance can be allowedadminaccess. Until security clearance is passedread-onlyaccess is allowed. -
Add the user with the appropriate privileges to the Terraform code that describes GovWifi’s account. You need to get the pull request approved and merged by Reliability Engineering.
-
Deploy the Terraform changes by:
a. Navigate to the GovWifi account directory Terraform:
cd terraform/deployments/re-govwifi/account/b. Using the gds-cli, note: gds-cli is being migrated to cod-cli, gds-cli may be aliased to ‘gds’, initialise Terraform if you have not done so previously:
gds aws govwifi -- terraform initc. Run
planon the Terraform project to ensure the changes are what you intend to deploy:gds aws govwifi -- terraform pland. Run
applyon the Terraform changes if you are happy to proceed:gds aws govwifi -- terraform apply