Skip to content

Commit

Permalink
fix: to avoid password reset for existing additional users (#461)
Browse files Browse the repository at this point in the history
Co-authored-by: Awais Malik <malik.awais@gmail.com>
  • Loading branch information
Anand-chenepalli and g-awmalik committed Jun 2, 2023
1 parent ef1bea3 commit 1fcdcc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/postgresql/main.tf
Expand Up @@ -210,7 +210,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 @@ -230,7 +230,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 1fcdcc4

Please sign in to comment.