File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ When running the following commands, replace `USERNAME` and `IP_ADDRESS` with th
61
61
62
62
1 . Run:
63
63
```
64
- aws ssm put-parameter --type String --name "/prod/bastion/allowed-ips/USERNAME" --value "IP_ADDRESS/32"
64
+ aws ssm put-parameter --type String --name "/prod/bastion/allowed-ips/USERNAME" --value "IP_ADDRESS/32" --region us-west-1
65
65
```
66
66
2 . Add the username to the list in
67
67
[ ` terraform/bastion/firewall.tf ` ] [ allowed-ips ] (local variable
@@ -72,15 +72,15 @@ When running the following commands, replace `USERNAME` and `IP_ADDRESS` with th
72
72
73
73
1 . Run:
74
74
```
75
- aws ssm put-parameter --overwrite --type String --name "/prod/bastion/allowed-ips/USERNAME" --value "IP_ADDRESS/32"
75
+ aws ssm put-parameter --overwrite --type String --name "/prod/bastion/allowed-ips/USERNAME" --value "IP_ADDRESS/32" --region us-west-1
76
76
```
77
77
2 . [ apply the Terraform configuration] [ terraform-apply ] .
78
78
79
79
### Removing a whitelisted IP
80
80
81
81
1 . Run:
82
82
```
83
- aws ssm delete-parameter --name "/prod/bastion/allowed-ips/USERNAME"
83
+ aws ssm delete-parameter --name "/prod/bastion/allowed-ips/USERNAME" --region us-west-1
84
84
```
85
85
2 . Remove the username from the list in
86
86
[ ` terraform/bastion/firewall.tf ` ] [ allowed-ips ] (local variable
You can’t perform that action at this time.
0 commit comments