Skip to content

Commit cd02020

Browse files
committed
specify aws region in bastion docs
1 parent 9843fc8 commit cd02020

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/infra/docs/bastion.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ When running the following commands, replace `USERNAME` and `IP_ADDRESS` with th
6161

6262
1. Run:
6363
```
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
6565
```
6666
2. Add the username to the list in
6767
[`terraform/bastion/firewall.tf`][allowed-ips] (local variable
@@ -72,15 +72,15 @@ When running the following commands, replace `USERNAME` and `IP_ADDRESS` with th
7272

7373
1. Run:
7474
```
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
7676
```
7777
2. [apply the Terraform configuration][terraform-apply].
7878

7979
### Removing a whitelisted IP
8080

8181
1. Run:
8282
```
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
8484
```
8585
2. Remove the username from the list in
8686
[`terraform/bastion/firewall.tf`][allowed-ips] (local variable

0 commit comments

Comments
 (0)