-
Notifications
You must be signed in to change notification settings - Fork 2
/
add-new-aws-users.html.md.erb
40 lines (27 loc) · 1.47 KB
/
add-new-aws-users.html.md.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
title: Add new AWS users
weight: 10
last_reviewed_on: "2024-04-15"
review_in: 6 months
---
# Add new AWS users
You can add new AWS users to the GovWifi AWS accounts by:
1. First verify with the GovWifi developers whether to grant `admin` or `read-only` access. Only team members with security clearance can be allowed `admin` access. Until security clearance is passed `read-only` access is allowed.
1. Add the user with the appropriate privileges to the [Terraform code that describes GovWifi's account](https://github.com/alphagov/tech-ops-private/blob/master/reliability-engineering/terraform/deployments/re-govwifi/account/site.tf). You need to get the pull request approved and merged by Reliability Engineering.
1. Deploy the Terraform changes by:
a. Navigate to the [GovWifi account directory Terraform](https://github.com/alphagov/tech-ops-private/tree/master/reliability-engineering/terraform):
```sh
cd terraform/deployments/re-govwifi/account/
```
b. Using the [gds-cli](https://github.com/alphagov/gds-cli), note: gds-cli may be aliased to 'gds', initialise Terraform if you have not done so previously:
```sh
gds aws govwifi -- terraform init
```
c. Run `plan` on the Terraform project to ensure the changes are what you intend to deploy:
```sh
gds aws govwifi -- terraform plan
```
d. Run `apply` on the Terraform changes if you are happy to proceed:
```sh
gds aws govwifi -- terraform apply
```