Run terraform bootstrap

This commit is contained in:
Ryan Ahearn
2022-11-02 11:17:34 -04:00
parent a0ed7dd053
commit bc5eec5131
4 changed files with 6 additions and 6 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"