From 4f214cf1b1049a7e42d0d62bd0da8c6d83162f0b Mon Sep 17 00:00:00 2001 From: aloftus23 Date: Tue, 7 May 2024 15:31:44 -0400 Subject: [PATCH] Format terraform --- infrastructure/database.tf | 4 ++-- infrastructure/prod-lz.tfvars | 2 +- infrastructure/prod.tfvars | 2 +- infrastructure/stage-lz.tfvars | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/infrastructure/database.tf b/infrastructure/database.tf index 5bca2b85..746812d1 100644 --- a/infrastructure/database.tf +++ b/infrastructure/database.tf @@ -61,7 +61,7 @@ resource "aws_db_instance" "db" { } data "aws_ami" "ubuntu" { - count = var.is_dmz ? 1 : 0 + count = var.is_dmz ? 1 : 0 most_recent = true filter { @@ -247,7 +247,7 @@ resource "aws_ssm_parameter" "lambda_subnet_id" { resource "aws_ssm_parameter" "worker_sg_id" { name = var.ssm_worker_sg type = "String" - value = var.is_dmz ? aws_security_group.worker[0].id : aws_security_group.worker_lz[0].id + value = var.is_dmz ? aws_security_group.worker[0].id : aws_security_group.worker_lz[0].id overwrite = true tags = { diff --git a/infrastructure/prod-lz.tfvars b/infrastructure/prod-lz.tfvars index 8b4cdcc0..881d6607 100644 --- a/infrastructure/prod-lz.tfvars +++ b/infrastructure/prod-lz.tfvars @@ -76,7 +76,7 @@ ssm_user_pool_id = "/crossfeed/prod/USER_POOL_ID" ssm_user_pool_client_id = "/crossfeed/prod/USER_POOL_CLIENT_ID" ses_support_email_sender = "noreply@crossfeed.cyber.dhs.gov" ses_support_email_replyto = "vulnerability@cisa.dhs.gov" -matomo_availability_zone = "us-gov-east-1a" +matomo_availability_zone = "us-gov-east-1a" matomo_ecs_cluster_name = "crossfeed-matomo-prod" matomo_ecs_task_definition_family = "crossfeed-matomo-prod" matomo_ecs_log_group_name = "crossfeed-matomo-prod" diff --git a/infrastructure/prod.tfvars b/infrastructure/prod.tfvars index eb910853..a5cd5367 100644 --- a/infrastructure/prod.tfvars +++ b/infrastructure/prod.tfvars @@ -76,7 +76,7 @@ ssm_user_pool_id = "/crossfeed/prod/USER_POOL_ID" ssm_user_pool_client_id = "/crossfeed/prod/USER_POOL_CLIENT_ID" ses_support_email_sender = "noreply@crossfeed.cyber.dhs.gov" ses_support_email_replyto = "vulnerability@cisa.dhs.gov" -matomo_availability_zone = "us-east-1a" +matomo_availability_zone = "us-east-1a" matomo_ecs_cluster_name = "crossfeed-matomo-prod" matomo_ecs_task_definition_family = "crossfeed-matomo-prod" matomo_ecs_log_group_name = "crossfeed-matomo-prod" diff --git a/infrastructure/stage-lz.tfvars b/infrastructure/stage-lz.tfvars index a90edede..04079057 100644 --- a/infrastructure/stage-lz.tfvars +++ b/infrastructure/stage-lz.tfvars @@ -75,7 +75,7 @@ ssm_user_pool_id = "/crossfeed/staging/USER_POOL_ID" ssm_user_pool_client_id = "/crossfeed/staging/USER_POOL_CLIENT_ID" ses_support_email_sender = "noreply@staging.crossfeed.cyber.dhs.gov" ses_support_email_replyto = "vulnerability@cisa.dhs.gov" -matomo_availability_zone = "us-gov-east-1b" +matomo_availability_zone = "us-gov-east-1b" matomo_ecs_cluster_name = "crossfeed-matomo-staging" matomo_ecs_task_definition_family = "crossfeed-matomo-staging" matomo_ecs_log_group_name = "crossfeed-matomo-staging"