Skip to content

Commit

Permalink
Fix refs to SGs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmannarino committed Aug 27, 2024
1 parent d16816e commit da9c03a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit da9c03a

Please sign in to comment.