We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5222530 commit 980ce16Copy full SHA for 980ce16
main.tf
@@ -3,7 +3,7 @@ data "aws_partition" "current" {}
3
locals {
4
create_cluster = var.create_cluster && var.putin_khuylo
5
6
- port = coalesce(var.port, (var.engine == "aurora-postgresql" ? 5432 : 3306))
+ port = coalesce(var.port, (var.engine == "aurora-postgresql" || var.engine == "postgres" ? 5432 : 3306))
7
8
internal_db_subnet_group_name = try(coalesce(var.db_subnet_group_name, var.name), "")
9
db_subnet_group_name = var.create_db_subnet_group ? try(aws_db_subnet_group.this[0].name, null) : local.internal_db_subnet_group_name
0 commit comments