Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specify aws region in bastion docs #763

Merged
merged 1 commit into from
Aug 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/infra/docs/bastion.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ When running the following commands, replace `USERNAME` and `IP_ADDRESS` with th

1. Run:
```
aws ssm put-parameter --type String --name "/prod/bastion/allowed-ips/USERNAME" --value "IP_ADDRESS/32"
aws ssm put-parameter --type String --name "/prod/bastion/allowed-ips/USERNAME" --value "IP_ADDRESS/32" --region us-west-1
```
2. Add the username to the list in
[`terraform/bastion/firewall.tf`][allowed-ips] (local variable
Expand All @@ -72,15 +72,15 @@ When running the following commands, replace `USERNAME` and `IP_ADDRESS` with th

1. Run:
```
aws ssm put-parameter --overwrite --type String --name "/prod/bastion/allowed-ips/USERNAME" --value "IP_ADDRESS/32"
aws ssm put-parameter --overwrite --type String --name "/prod/bastion/allowed-ips/USERNAME" --value "IP_ADDRESS/32" --region us-west-1
```
2. [apply the Terraform configuration][terraform-apply].

### Removing a whitelisted IP

1. Run:
```
aws ssm delete-parameter --name "/prod/bastion/allowed-ips/USERNAME"
aws ssm delete-parameter --name "/prod/bastion/allowed-ips/USERNAME" --region us-west-1
```
2. Remove the username from the list in
[`terraform/bastion/firewall.tf`][allowed-ips] (local variable
Expand Down
Loading