-
Notifications
You must be signed in to change notification settings - Fork 98
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
Updating the schema is not recognized #42
Comments
@Waschnick there's an open issue for the provider here, which forces the pool recreation when adding new attributes. In fact, PR #28 disabled schema change recognition through an ignore lifecycle to avoid this behavior, until there's an official fix in the AWS provider. I should document this in the README file, in the known issues. |
@Waschnick I updated the README to reflect the main issue and the current module behavior! |
That's a very long thread they have going on there. Thank you for the link, I actually also stumbled about it while googling around. In Nov'20 they (Hashicorp) said, they have this issue on their roadmap. Let's see and hope for the best. |
Hey @lgallard this was also addressed recently: https://github.com/hashicorp/terraform-provider-aws/blob/v3.35.0/CHANGELOG.md "resource/aws_cognito_user_pool: Allow schema items to be added without recreating resource. " with this PR hashicorp/terraform-provider-aws#18512 |
@Waschnick Release 0.10.2 removed the lifecycle that prevented the schema update |
Adding a new entry to schemas or string_schemas is not recognised. Output:
No changes. Infrastructure is up-to-date.
If I rename the user_pool_name the changes list the new attributes.
The text was updated successfully, but these errors were encountered: