-
Notifications
You must be signed in to change notification settings - Fork 101
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
String schemas are updated on every terraform run due to missing string_attribute_constraints attribute #125
Comments
Using version 0.24.0, Still same issue here, the config: Behaviour on every terraform plan/apply:
Plan: 0 to add, 1 to change, 0 to destroy. |
We're also seeing this, I've raised an MR to bring the lifecycle block back: |
Fixed it by removing the variables and declaring it in the main.tf directly as shown in the complete example (https://github.com/lgallard/terraform-aws-cognito-user-pool/blob/master/examples/complete/main.tf), I guess I was using it in variables.tf incorrectly, but just kept it as is without variables. |
Terraform CLI and Terraform AWS Provider Version
Terraform v1.0.6
AWS provider 3.63.0
Affected Resource(s)
aws_cognito_user_pool
Affected Module Attrinbute(s)
string_schemas
number_schemas
Terraform Configuration Files
Expected Behavior
Pool is created with string schemas and terraform does not try to update them on the following terrafrom execution.
Actual Behavior
Steps to Reproduce
The text was updated successfully, but these errors were encountered: