-
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
supported_identity_providers in aws_cognito_user_pool_client Ordering Causing Differences #4806
Comments
I am also facing the similar issue. |
Same flip-flop here. Even with only one
======================
|
@radeksimko Any update on the progress to solve this? |
The fix for properly passing all attributes during We'll need to specifically address |
The followup fix for ignoring |
This has been released in version 2.54.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! |
Terraform Version
Affected Resource(s)
aws_cognito_user_pool_client
Terraform Configuration Files
Expected Behavior
Calling
aws cognito-idp describe-user-pool-client
should return this:Actual Behavior
Calling
aws cognito-idp describe-user-pool-client
returns this, which is radically different:Steps to Reproduce
terraform plan
terraform apply
terraform plan
terraform apply
EDIT:
After further research it seems like the order of elements in
supported_identity_providers
changes on every/plan apply and this affects some other attributes of theaws_cognito_user_poor_client
resource.Here's the
terraform plan
output of two successiveterraform plan
/terraform apply
sequences without modifications to the code:First time:
Second time:
EDIT #2:
Even though the second time I run
terraform plan
/terraform apply
only shows me the change in the order of thesupported_identity_provider
elements:Applying causes values of
allowed_oauth_flows
andallowed_oauth_scopes
to be removed from the resource even though no indication of such behavior is indicated by the plan. If I runterraform plan
/terraform apply
again everything returns to normal.The text was updated successfully, but these errors were encountered: