Changing the value of allow_classic_flow only changes that value.
Actual Behavior
Changing the value of allow_classic_flow after the resource has initially been created removes any configured cognito_identity_providers on the resource. Running terraform apply again results in the recreation of the cognito_identity_providers.
Apply the code above by running terraform apply. You can use the AWS console or cli to verify that the cognito_identity_providers configuration is present in the deployed resource.
Change the value of allow_classic_flow to false
Run terraform apply again. Note that the plan states only that value will be changed
Run terraform apply again. Note that the plan shows that the cognito_identity_providers block will be added. You can use the AWS console or cli to verify that the cognito_identity_providers configuration is not present in the deployed resource.
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
v1.3.0
AWS Provider Version
v4.32.0
Affected Resource(s)
aws_cognito_identity_pool
Expected Behavior
Changing the value of
allow_classic_flow
only changes that value.Actual Behavior
Changing the value of
allow_classic_flow
after the resource has initially been created removes any configuredcognito_identity_providers
on the resource. Runningterraform apply
again results in the recreation of thecognito_identity_providers
.Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
terraform apply
. You can use the AWS console or cli to verify that thecognito_identity_providers
configuration is present in the deployed resource.allow_classic_flow
tofalse
terraform apply
again. Note that the plan states only that value will be changedterraform apply
again. Note that the plan shows that thecognito_identity_providers
block will be added. You can use the AWS console or cli to verify that thecognito_identity_providers
configuration is not present in the deployed resource.Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No