Skip to content

Commit f28985a

Browse files
authored
chore: Remove duplicate line and add impersonation (#539)
Remove duplicate line and add impersonation step for running terraform manually
1 parent e8f2f84 commit f28985a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

5-app-infra/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ commands. The `-T` flag is needed for Linux, but causes problems for MacOS.
182182
1. Rename `bu1-development.auto.example.tfvars` to `bu1-development.auto.tfvars` and update the file with values from your environment.
183183
1. Rename `bu1-non-production.auto.example.tfvars` to `bu1-non-production.auto.tfvars` and update the file with values from your environment.
184184
1. Rename `bu1-production.auto.example.tfvars` to `bu1-production.auto.tfvars` and update the file with values from your environment.
185-
1. Update `backend.tf` with your bucket from the infra pipeline example.
185+
1. Provide the user that will be running `./tf-wrapper.sh` the Service Account Token Creator role to the bu1 project service accounts
186+
3. Update `backend.tf` with your bucket from the infra pipeline example.
186187
```
187188
for i in `find -name 'backend.tf'`; do sed -i 's/UPDATE_ME/<YOUR-BUCKET-NAME>/' $i; done
188189
```
@@ -198,7 +199,6 @@ To use the `validate` option of the `tf-wrapper.sh` script, please follow the [i
198199
1. Run `./tf-wrapper.sh apply production`.
199200
1. Run `./tf-wrapper.sh init non-production`.
200201
1. Run `./tf-wrapper.sh plan non-production` and review output.
201-
1. Run `./tf-wrapper.sh plan non-production` and review output.
202202
1. Run `./tf-wrapper.sh validate non-production $(pwd)/../policy-library <YOUR_INFRA_PIPELINE_PROJECT_ID>` and check for violations.
203203
1. Run `./tf-wrapper.sh apply non-production`.
204204
1. Run `./tf-wrapper.sh init development`.

0 commit comments

Comments
 (0)