Skip to content

Commit 8498a23

Browse files
fix: adjust logic for admin password
Co-authored-by: Copilot <[email protected]>
1 parent 9a1a445 commit 8498a23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cluster-regional.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module "aurora_postgres_cluster" {
1616
cluster_size = var.cluster_size
1717
promotion_tier = var.promotion_tier
1818
admin_user = local.admin_user
19-
admin_password = var.manage_admin_user_password != null ? null : local.admin_password
19+
admin_password = var.manage_admin_user_password ? null : local.admin_password
2020
manage_admin_user_password = var.manage_admin_user_password
2121

2222
db_name = local.database_name

0 commit comments

Comments
 (0)