Skip to content

Commit 1fcdcc4

Browse files
fix: to avoid password reset for existing additional users (#461)
Co-authored-by: Awais Malik <[email protected]>
1 parent ef1bea3 commit 1fcdcc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/postgresql/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ resource "random_password" "user-password" {
210210

211211
lifecycle {
212212
ignore_changes = [
213-
min_lower, min_upper, min_numeric
213+
min_lower, min_upper, min_numeric, special, min_special, length
214214
]
215215
}
216216
}
@@ -230,7 +230,7 @@ resource "random_password" "additional_passwords" {
230230

231231
lifecycle {
232232
ignore_changes = [
233-
min_lower, min_upper, min_numeric
233+
min_lower, min_upper, min_numeric, special, min_special, length
234234
]
235235
}
236236
}

0 commit comments

Comments
 (0)