Skip to content

Commit

Permalink
Format terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
aloftus23 committed May 7, 2024
1 parent 5c42d0f commit 4f214cf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions infrastructure/database.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/prod-lz.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]"
ses_support_email_replyto = "[email protected]"
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"
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/prod.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]"
ses_support_email_replyto = "[email protected]"
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"
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/stage-lz.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]"
ses_support_email_replyto = "[email protected]"
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"
Expand Down

0 comments on commit 4f214cf

Please sign in to comment.