Skip to content

Commit

Permalink
fix: to avoid password reset for existing additional users for MySQL …
Browse files Browse the repository at this point in the history
…module (#692)

Co-authored-by: Imran Nayer <[email protected]>
  • Loading branch information
kam1kaze and imrannayer authored Jan 10, 2025
1 parent 7f4ecbe commit 3352a8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/mysql/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ resource "random_password" "user-password" {

lifecycle {
ignore_changes = [
min_lower, min_upper, min_numeric
min_lower, min_upper, min_numeric, special, min_special, length
]
}
}
Expand All @@ -262,7 +262,7 @@ resource "random_password" "additional_passwords" {

lifecycle {
ignore_changes = [
min_lower, min_upper, min_numeric
min_lower, min_upper, min_numeric, special, min_special, length
]
}
}
Expand Down

0 comments on commit 3352a8b

Please sign in to comment.