-
Notifications
You must be signed in to change notification settings - Fork 118
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
Add minimum character constraints to random_string #22
Conversation
bc19e0b
to
e535c3c
Compare
e535c3c
to
dfabf07
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thanks for adding this feature :) |
This change caused all "min_lower": "0",
"min_numeric": "0",
"min_special": "0",
"min_upper": "0" on all the @mildwonkey It was surprising to me that the generate-once value forced new changes when not specifically tainted, and when it's used for resource names and such pretty disproportional to recreate the infra. |
@kitsunde I'm sorry to hear about that and thanks for sharing the workaround. I'm certain it wasn't the intent of this PR - I will take a look at it. |
This also bit us this morning -- huge amounts of changes due to new explicit defaults. It's also a shame since we're pinning to |
Apologies all. @mildwonkey I'm still relatively new with terraform providers, but I think the correct approach is to use a state migration to add the defaults to the instance state. I've opened a PR with that change (#29) |
This hit us too and we had a short production outage as a result 😭 |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
The motivation behind this is to more reliably create passwords that will pass complexity requirements