-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
r/cognito_resource_server allow name change without ForceNew #41702
base: main
Are you sure you want to change the base?
Conversation
Community GuidelinesThis comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀 Voting for Prioritization
Pull Request Authors
|
eb0515b
to
e1a5be7
Compare
}, | ||
{ | ||
Config: testAccResourceServerConfig_nameUpdate(identifier, rName), | ||
Check: resource.ComposeAggregateTestCheckFunc( |
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.
I was not able to find a good example to follow for asserting that the resource is not deleted and recreated by terraform.
The examples I did find all used some unique attribute in the AWS api response, like a creation date, to make the assertion, but there is no such attribute available for this resource. The only option I can think of would be to add an assertion on the Plan, but I don't know how to do that, and I'm not sure if it's necessary.
Description
Allow updates to the name (which is really just a description) of the cognito resource server without deleting and recreating it.
Relations
Closes #41347
References
Output from Acceptance Testing