Skip to content

Commit acda148

Browse files
committed
infra: update bastion docs
1 parent 3bebb60 commit acda148

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/infra/docs/bastion.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ aws ssm put-parameter --type String --name "/prod/bastion/allowed-ips/USERNAME"
6262
```
6363

6464
You'll also need to add the username to the list in
65-
[`terraform/services.tf`][allowed-ips] (key `allowed_users` in the
66-
`service_bastion` module). Once you made all the needed changes you wanted you
67-
need to [apply the Terraform configuration][terraform-apply].
65+
[`terraform/bastion/firewall.tf`][allowed-ips] (local variable
66+
`allowed_users`). Once you made all the needed changes you wanted you need to
67+
[apply the Terraform configuration][terraform-apply].
6868

6969
### Updating a whitelisted IP
7070

@@ -92,15 +92,15 @@ aws ssm delete-parameter --name "/prod/bastion/allowed-ips/USERNAME"
9292
```
9393

9494
You'll also need to remove the username from the list in
95-
[`terraform/services.tf`][allowed-ips] (key `allowed_users` in the
96-
`service_bastion` module). Once you made all the needed changes you wanted you
97-
need to [apply the Terraform configuration][terraform-apply].
95+
[`terraform/bastion/firewall.tf`][allowed-ips] (local variable
96+
`allowed_users`). Once you made all the needed changes you wanted you need to
97+
[apply the Terraform configuration][terraform-apply].
9898

9999
[ansible]: https://github.com/rust-lang/simpleinfra/blob/master/ansible/playbooks/bastion.yml
100-
[terraform]: https://github.com/rust-lang/simpleinfra/tree/master/terraform/services/bastion
100+
[terraform]: https://github.com/rust-lang/simpleinfra/tree/master/terraform/bastion
101101
[grafana]: https://grafana.rust-lang.org/d/rpXrFfKWz/instance-metrics?orgId=1&var-instance=bastion.infra.rust-lang.org:9100
102102
[keys]: https://github.com/rust-lang/simpleinfra/tree/master/ansible/roles/common/files/ssh-keys
103103
[ansible-apply]: https://github.com/rust-lang/simpleinfra/blob/master/ansible/README.md#executing-a-playbook
104104
[ssm]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html
105-
[allowed-ips]: https://github.com/rust-lang/simpleinfra/blob/master/terraform/services.tf
105+
[allowed-ips]: https://github.com/rust-lang/simpleinfra/blob/master/terraform/bastion/firewall.tf
106106
[terraform-apply]: https://github.com/rust-lang/simpleinfra/tree/master/terraform#applying-the-configuration

0 commit comments

Comments
 (0)