mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-24 00:06:16 -04:00
Merge pull request #2035 from GSA/terraform_demo
change terraform region for sms
This commit is contained in:
@@ -71,6 +71,6 @@ module "sns_sms" {
|
|||||||
cf_org_name = local.cf_org_name
|
cf_org_name = local.cf_org_name
|
||||||
cf_space_name = local.cf_space_name
|
cf_space_name = local.cf_space_name
|
||||||
name = "${local.app_name}-sns-${local.env}"
|
name = "${local.app_name}-sns-${local.env}"
|
||||||
aws_region = "us-east-1"
|
aws_region = "us-west-2"
|
||||||
monthly_spend_limit = 25
|
monthly_spend_limit = 25
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,10 +8,11 @@ terraform {
|
|||||||
}
|
}
|
||||||
|
|
||||||
backend "s3" {
|
backend "s3" {
|
||||||
bucket = "cg-6b759c13-6253-4a64-9bda-dd1f620185b0"
|
bucket = "cg-6b759c13-6253-4a64-9bda-dd1f620185b0"
|
||||||
key = "api.tfstate.demo"
|
key = "api.tfstate.demo"
|
||||||
encrypt = "true"
|
encrypt = "true"
|
||||||
region = "us-gov-west-1"
|
region = "us-gov-west-1"
|
||||||
|
use_lockfile = "true"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
locals {
|
locals {
|
||||||
cf_org_name = "gsa-tts-benefits-studio"
|
cf_org_name = "gsa-tts-benefits-studio"
|
||||||
cf_space_name = "notify-local-dev"
|
cf_space_name = "notify-local-dev"
|
||||||
key_name = "${var.username}-api-dev-key"
|
key_name = "${var.username}-api-dev-key"
|
||||||
}
|
}
|
||||||
|
|
||||||
module "csv_upload_bucket" {
|
module "csv_upload_bucket" {
|
||||||
|
|||||||
@@ -8,10 +8,11 @@ terraform {
|
|||||||
}
|
}
|
||||||
|
|
||||||
backend "s3" {
|
backend "s3" {
|
||||||
bucket = "cg-6b759c13-6253-4a64-9bda-dd1f620185b0"
|
bucket = "cg-6b759c13-6253-4a64-9bda-dd1f620185b0"
|
||||||
key = "api.tfstate.prod"
|
key = "api.tfstate.prod"
|
||||||
encrypt = "true"
|
encrypt = "true"
|
||||||
region = "us-gov-west-1"
|
region = "us-gov-west-1"
|
||||||
|
use_lockfile = "true"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,10 +8,11 @@ terraform {
|
|||||||
}
|
}
|
||||||
|
|
||||||
backend "s3" {
|
backend "s3" {
|
||||||
bucket = "cg-6b759c13-6253-4a64-9bda-dd1f620185b0"
|
bucket = "cg-6b759c13-6253-4a64-9bda-dd1f620185b0"
|
||||||
key = "api.tfstate.sandbox"
|
key = "api.tfstate.sandbox"
|
||||||
encrypt = "true"
|
encrypt = "true"
|
||||||
region = "us-gov-west-1"
|
region = "us-gov-west-1"
|
||||||
|
use_lockfile = "true"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,10 +8,11 @@ terraform {
|
|||||||
}
|
}
|
||||||
|
|
||||||
backend "s3" {
|
backend "s3" {
|
||||||
bucket = "cg-6b759c13-6253-4a64-9bda-dd1f620185b0"
|
bucket = "cg-6b759c13-6253-4a64-9bda-dd1f620185b0"
|
||||||
key = "api.tfstate.stage"
|
key = "api.tfstate.stage"
|
||||||
encrypt = "true"
|
encrypt = "true"
|
||||||
region = "us-gov-west-1"
|
region = "us-gov-west-1"
|
||||||
|
use_lockfile = "true"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user