@@ -62,9 +62,9 @@ aws ssm put-parameter --type String --name "/prod/bastion/allowed-ips/USERNAME"
62
62
```
63
63
64
64
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 ] .
68
68
69
69
### Updating a whitelisted IP
70
70
@@ -92,15 +92,15 @@ aws ssm delete-parameter --name "/prod/bastion/allowed-ips/USERNAME"
92
92
```
93
93
94
94
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 ] .
98
98
99
99
[ 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
101
101
[ grafana ] : https://grafana.rust-lang.org/d/rpXrFfKWz/instance-metrics?orgId=1&var-instance=bastion.infra.rust-lang.org:9100
102
102
[ keys ] : https://github.com/rust-lang/simpleinfra/tree/master/ansible/roles/common/files/ssh-keys
103
103
[ ansible-apply ] : https://github.com/rust-lang/simpleinfra/blob/master/ansible/README.md#executing-a-playbook
104
104
[ 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
106
106
[ terraform-apply ] : https://github.com/rust-lang/simpleinfra/tree/master/terraform#applying-the-configuration
0 commit comments