-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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_cognito_user_pool: Fix perpetual diffs on sms_verification_message #9758
resource/aws_cognito_user_pool: Fix perpetual diffs on sms_verification_message #9758
Conversation
35ad1cc
to
14c7a81
Compare
@aeschright should this PR be retracted in favour of the longer term solution specified in #9791 |
…on_message When using `verification_message_template.sms_message` for setting the sms message verification template the resource upon subsequent applys will trigger an update because of a diff in the conflicting `sms_verification_message` argument. This changes adds the computed property onto `sms_message_verification` to ensure it get's updated with the contents being set by `verification_message_template.sms_message` Acceptance test before change ``` --- FAIL: TestAccAWSCognitoUserPool_withVerificationMessageTemplate (10.90s) [274/322] testing.go:568: Step 0 error: After applying this step, the plan was not empty: DIFF: UPDATE: aws_cognito_user_pool.pool sms_verification_message: "{####} Baz" => "" ``` Acceptance test after change ``` --- PASS: TestAccAWSCognitoUserPool_withVerificationMessageTemp ```
14c7a81
to
ac48305
Compare
ac48305
to
a20cadf
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.
If someone else can run the tests (my connection is being weird) this is good to go. Thanks!
a20cadf
to
b0c5ef4
Compare
This has been released in version 2.28.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
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! |
Community Note
No specific issues found that pertaining to this bug.
Release note for CHANGELOG:
When using
verification_message_template.sms_message
for setting the sms message verification template the resource upon subsequent applys will trigger an update because of a diff in the conflictingsms_verification_message
argument. This changes adds the computed property ontosms_message_verification
to ensure it get's updated with the contents being set byverification_message_template.sms_message
Acceptance test before change
Acceptance test after change