Skip to content

Commit 3352a8b

Browse files
kam1kazeimrannayer
andauthored
fix: to avoid password reset for existing additional users for MySQL module (#692)
Co-authored-by: Imran Nayer <[email protected]>
1 parent 7f4ecbe commit 3352a8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/mysql/main.tf

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

243243
lifecycle {
244244
ignore_changes = [
245-
min_lower, min_upper, min_numeric
245+
min_lower, min_upper, min_numeric, special, min_special, length
246246
]
247247
}
248248
}
@@ -262,7 +262,7 @@ resource "random_password" "additional_passwords" {
262262

263263
lifecycle {
264264
ignore_changes = [
265-
min_lower, min_upper, min_numeric
265+
min_lower, min_upper, min_numeric, special, min_special, length
266266
]
267267
}
268268
}

0 commit comments

Comments
 (0)