-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
resource/aws_mq_broker: validate user password #3164
resource/aws_mq_broker: validate user password #3164
Conversation
7b4cc9c
to
7276aea
Compare
The API documentation also notes some other restrictions, could you add those as well please while you're in here? 😄 https://docs.aws.amazon.com/amazon-mq/latest/api-reference/rest-api-user.html#rest-api-user-attributes
|
70f7cc4
to
fcb4883
Compare
fcb4883
to
ea50016
Compare
ea50016
to
88ef005
Compare
Thanks for you input, @bflad. I didn't even check aws doc, just added the validation according to the return error. Now I've included those requirements mentioned from the link. |
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 this contribution, you will save others lots of pain! 🚀
=== RUN TestAccAwsMqBroker_basic
--- PASS: TestAccAwsMqBroker_basic (993.73s)
...
This has been released in terraform-provider-aws version 1.9.0. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Annoyed by password length when add data source for
aws_mq_broker
. Add validation function to check password length falls into [12, 250].