mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 15:31:15 -05:00
Re-order Terraform README steps
Co-authored-by: Ryan Ahearn <ryan.ahearn@gsa.gov>
This commit is contained in:
@@ -26,6 +26,7 @@ The bootstrap module is used to create an s3 bucket for later terraform runs to
|
||||
1. Follow instructions under `Use bootstrap credentials`
|
||||
1. Ensure that `import.sh` includes a line and correct IDs for any resources created
|
||||
1. Run `./teardown_creds.sh` to remove the space deployer account used to create the s3 bucket
|
||||
1. Copy `bucket` from `bucket_credentials` output to the backend block of `staging/providers.tf` and `production/providers.tf`
|
||||
|
||||
### To make changes to the bootstrap module
|
||||
|
||||
@@ -40,6 +41,7 @@ The bootstrap module is used to create an s3 bucket for later terraform runs to
|
||||
|
||||
### Retrieving existing bucket credentials
|
||||
|
||||
1. Run `./import.sh` to pull existing terraform state into the local state
|
||||
1. Run `./run.sh show`
|
||||
1. Follow instructions under `Use bootstrap credentials`
|
||||
|
||||
@@ -52,8 +54,6 @@ The bootstrap module is used to create an s3 bucket for later terraform runs to
|
||||
aws_secret_access_key = <secret_access_key from bucket_credentials>
|
||||
```
|
||||
|
||||
1. Copy `bucket` from `bucket_credentials` output to the backend block of `staging/providers.tf` and `production/providers.tf`
|
||||
|
||||
## SpaceDeployers
|
||||
|
||||
A [SpaceDeployer](https://cloud.gov/docs/services/cloud-gov-service-account/) account is required to run terraform or
|
||||
|
||||
Reference in New Issue
Block a user