Skip to content

Commit

Permalink
fix: Fix TF formating (#592)
Browse files Browse the repository at this point in the history
  • Loading branch information
FelisiaM authored Nov 1, 2022
1 parent 21b83d8 commit d385f16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion terraform/aurora-mysql/provision/data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ locals {
port = 3306
serverless = var.serverless_max_capacity != null || var.serverless_min_capacity != null

rds_vpc_security_group_ids = length(var.rds_vpc_security_group_ids) == 0 ? [ aws_security_group.rds_sg[0].id ] : split(",", var.rds_vpc_security_group_ids)
rds_vpc_security_group_ids = length(var.rds_vpc_security_group_ids) == 0 ? [aws_security_group.rds_sg[0].id] : split(",", var.rds_vpc_security_group_ids)
subnet_group = length(var.rds_subnet_group) > 0 ? var.rds_subnet_group : aws_db_subnet_group.rds_private_subnet[0].name
}
2 changes: 1 addition & 1 deletion terraform/aurora-postgresql/provision/data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ locals {
port = 5432
serverless = var.serverless_max_capacity != null || var.serverless_min_capacity != null

rds_vpc_security_group_ids = length(var.rds_vpc_security_group_ids) == 0 ? [ aws_security_group.rds_sg[0].id ] : split(",", var.rds_vpc_security_group_ids)
rds_vpc_security_group_ids = length(var.rds_vpc_security_group_ids) == 0 ? [aws_security_group.rds_sg[0].id] : split(",", var.rds_vpc_security_group_ids)
subnet_group = length(var.rds_subnet_group) > 0 ? var.rds_subnet_group : aws_db_subnet_group.rds_private_subnet[0].name
}

0 comments on commit d385f16

Please sign in to comment.