From 2961b2028593c1d305cf9a83abd405dc9461d2ea Mon Sep 17 00:00:00 2001 From: John Kerry Date: Thu, 30 May 2024 16:16:54 -0400 Subject: [PATCH 1/2] Revert "Revert "enabling special characters in the postgresql password generation"" This reverts commit dfacae13a7cbf1328ba25eff5a10b4eab9922678. --- modules/database/main.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/database/main.tf b/modules/database/main.tf index d7b632b7..4fcd0524 100644 --- a/modules/database/main.tf +++ b/modules/database/main.tf @@ -3,7 +3,8 @@ resource "random_string" "postgresql_password" { length = 128 - special = false + special = true + override_special = "!#$%&*()-_=+[]{}<>?" } resource "aws_security_group" "postgresql" { From 8bd5e232b9c2b0f0c0f84401c939b52ec5aaac52 Mon Sep 17 00:00:00 2001 From: John Kerry Date: Thu, 30 May 2024 16:24:36 -0400 Subject: [PATCH 2/2] fmt --- modules/database/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/database/main.tf b/modules/database/main.tf index 4fcd0524..5abb1a30 100644 --- a/modules/database/main.tf +++ b/modules/database/main.tf @@ -2,7 +2,7 @@ # SPDX-License-Identifier: MPL-2.0 resource "random_string" "postgresql_password" { - length = 128 + length = 128 special = true override_special = "!#$%&*()-_=+[]{}<>?" }