Skip to content

Commit

Permalink
Remove crashing conditional on master password definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Lu-dorado committed Jul 8, 2021
1 parent 6491692 commit 585d112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
locals {
port = var.port == "" ? var.engine == "aurora-postgresql" ? "5432" : "3306" : var.port
master_password = var.password == "" ? random_id.master_password.b64 : var.password
master_password = var.password
db_subnet_group_name = var.db_subnet_group_name == "" ? join("", aws_db_subnet_group.this.*.name) : var.db_subnet_group_name
backtrack_window = (var.engine == "aurora-mysql" || var.engine == "aurora") && var.engine_mode != "serverless" ? var.backtrack_window : 0

Expand Down

0 comments on commit 585d112

Please sign in to comment.