From da9c03aeab59e6d0f9a493af138a2b33b8099ca8 Mon Sep 17 00:00:00 2001 From: Daniel Mannarino Date: Tue, 27 Aug 2024 00:59:45 -0400 Subject: [PATCH] Fix refs to SGs --- terraform/main.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/terraform/main.tf b/terraform/main.tf index e4911d66..a206d401 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -98,7 +98,7 @@ module "fargate_autoscaling" { // acm_certificate_arn = var.environment == "dev" ? null : data.terraform_remote_state.core.outputs.acm_certificate security_group_ids = [ data.terraform_remote_state.core.outputs.postgresql_security_group_id, - data.terraform_remote_state.core.outputs.aws_security_group.ecs_security_group_id + data.terraform_remote_state.core.outputs.batch_security_group_id ] task_role_policies = [ data.terraform_remote_state.core.outputs.iam_policy_s3_write_data-lake_arn, @@ -144,7 +144,7 @@ module "batch_aurora_writer" { security_group_ids = [ data.terraform_remote_state.core.outputs.default_security_group_id, data.terraform_remote_state.core.outputs.postgresql_security_group_id, - data.terraform_remote_state.core.outputs.aws_security_group.batch_security_group_id + data.terraform_remote_state.core.outputs.batch_security_group_id ] subnets = data.terraform_remote_state.core.outputs.private_subnet_ids suffix = local.name_suffix @@ -172,7 +172,7 @@ module "batch_data_lake_writer" { security_group_ids = [ data.terraform_remote_state.core.outputs.default_security_group_id, data.terraform_remote_state.core.outputs.postgresql_security_group_id, - data.terraform_remote_state.core.outputs.aws_security_group.batch_security_group_id + data.terraform_remote_state.core.outputs.batch_security_group_id ] subnets = data.terraform_remote_state.core.outputs.private_subnet_ids suffix = local.name_suffix