Closed mg98 closed 1 month ago
@mg98 Thank you for reporting this! I don't see any other reports of this yet. Hopefully we, or someone from the community, will be able to track down the cause of this problem.
@mg98, I was able to reproduce this and found an interesting fact. user_data_shared
cannot be updated when application_arn
is used. i can add some logic to cause recreation under those circumstances but i would try to escalate to aws to see if this is an oversight on their part or works as intended with a wrong error. but there is no issue with creating a new user pool client with user_data_shared = true
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.
If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
This configuration is actually copy pasted from the docs with a few changes:
In
analytics_configuration
I use theapplication_arn
instead ofapplication_id
,role_arn
andexternal_id
. I did this actually because I had problems with the alternative, the same as have been referenced in https://github.com/hashicorp/terraform-provider-aws/issues/16481. In response to this, theapplication_arn
field was introduced in https://github.com/hashicorp/terraform-provider-aws/pull/16734. I can validate that this works. It only does not work when combined withuser_data_shared = true
.Expected Behavior
No error/ The created cognito user pool should have been linked to the created pinpoint app.
Actual Behavior
Steps to Reproduce
terraform init
terraform apply
in region eu-central-1