mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-10 15:22:24 -05:00
Run terraform bootstrap
This commit is contained in:
@@ -4,8 +4,8 @@ read -p "Are you sure you want to import terraform state (y/n)? " verify
|
||||
|
||||
if [[ $verify == "y" ]]; then
|
||||
echo "Importing bootstrap state"
|
||||
./run.sh import module.s3.cloudfoundry_service_instance.bucket 31204bcc-aae3-4cd3-8b59-5055a338d44f
|
||||
./run.sh import cloudfoundry_service_key.bucket_creds 483a6ac5-4ba0-48ad-9850-ef87b51aaa08
|
||||
./run.sh import module.s3.cloudfoundry_service_instance.bucket 6b759c13-6253-4a64-9bda-dd1f620185b0
|
||||
./run.sh import cloudfoundry_service_key.bucket_creds a8e40295-68b7-42ba-8955-d82ba262e948
|
||||
./run.sh plan
|
||||
else
|
||||
echo "Not importing bootstrap state"
|
||||
|
||||
@@ -8,8 +8,8 @@ terraform {
|
||||
}
|
||||
|
||||
backend "s3" {
|
||||
bucket = "TKTK"
|
||||
key = "api.tfstate.prod"
|
||||
bucket = "cg-6b759c13-6253-4a64-9bda-dd1f620185b0"
|
||||
key = "api.tfstate.demo"
|
||||
encrypt = "true"
|
||||
region = "us-gov-west-1"
|
||||
profile = "notify-terraform-backend"
|
||||
|
||||
@@ -8,7 +8,7 @@ terraform {
|
||||
}
|
||||
|
||||
backend "s3" {
|
||||
bucket = "TKTK"
|
||||
bucket = "cg-6b759c13-6253-4a64-9bda-dd1f620185b0"
|
||||
key = "api.tfstate.prod"
|
||||
encrypt = "true"
|
||||
region = "us-gov-west-1"
|
||||
|
||||
@@ -8,7 +8,7 @@ terraform {
|
||||
}
|
||||
|
||||
backend "s3" {
|
||||
bucket = "TKTK"
|
||||
bucket = "cg-6b759c13-6253-4a64-9bda-dd1f620185b0"
|
||||
key = "api.tfstate.stage"
|
||||
encrypt = "true"
|
||||
region = "us-gov-west-1"
|
||||
|
||||
Reference in New Issue
Block a user