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