From dbae441fb66e0072c0af5be3fcedc23b4b059448 Mon Sep 17 00:00:00 2001 From: zhelezovartem Date: Wed, 24 Aug 2022 18:18:16 +0300 Subject: [PATCH] update ecs-service module to the latest version --- deployment/terraform/deployment.tf | 2 +- deployment/terraform/production.tfvars | 4 ---- deployment/terraform/staging.tfvars | 9 --------- 3 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 deployment/terraform/production.tfvars delete mode 100644 deployment/terraform/staging.tfvars diff --git a/deployment/terraform/deployment.tf b/deployment/terraform/deployment.tf index a41c1a6..cd19703 100644 --- a/deployment/terraform/deployment.tf +++ b/deployment/terraform/deployment.tf @@ -1,5 +1,5 @@ module "ecs-service" { - source = "s3::https://s3-eu-central-1.amazonaws.com/terraform-modules-9d7e951c290ec5bbe6506e0ddb064808764bc636/terraform-modules.zip//ecs-service/v1" + source = "s3::https://s3-eu-central-1.amazonaws.com/terraform-modules-9d7e951c290ec5bbe6506e0ddb064808764bc636/terraform-modules.zip//ecs-service/v2" service_name = var.service_name TAGGED_IMAGE = var.TAGGED_IMAGE enable_execute_command = "true" diff --git a/deployment/terraform/production.tfvars b/deployment/terraform/production.tfvars deleted file mode 100644 index 07e1998..0000000 --- a/deployment/terraform/production.tfvars +++ /dev/null @@ -1,4 +0,0 @@ -env = "prod" - -# Allow to replicate app docker images from this account -ecr_replication_origin = "244531986313" diff --git a/deployment/terraform/staging.tfvars b/deployment/terraform/staging.tfvars deleted file mode 100644 index 4c53e7b..0000000 --- a/deployment/terraform/staging.tfvars +++ /dev/null @@ -1,9 +0,0 @@ -env = "staging" - -# Allow to replicate app docker images to these accounts -ecr_replication_targets = [ - { - "account_id" = "274425519734", - "region" = "eu-central-1" - } -]