Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure min password requirements are always met for Azure SQL resources #777

Closed
davesee opened this issue Feb 6, 2021 · 0 comments · Fixed by #778
Closed

Ensure min password requirements are always met for Azure SQL resources #777

davesee opened this issue Feb 6, 2021 · 0 comments · Fixed by #778

Comments

@davesee
Copy link
Contributor

davesee commented Feb 6, 2021

Current password generation may fail if one upper, lower, or numeric character is not randomly chosen in:
resource "random_password" "password" {
length = 16
special = true
override_special = "_%@"
}

Found here:

Update to:
resource "random_password" "password" {
length = 16
override_special = "-_%@"
min_upper = "1"
min_lower = "1"
min_numeric = "1"
min_special = "1"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant