Closed ivan-kiselev closed 2 months ago
Voting for Prioritization
Volunteering to Work on This Issue
The behavior is not observed with the following configuration:
...
analytics_configuration {
application_arn = aws_pinpoint_app.general_user.arn
user_data_shared = true
}
...
E.g. shall one configure analytics config directly through ARN instead of application ID, the region is picked up correctly.
I've checked corresponding API endpoint and terraform code, and how the UI sends the request to the Cognito and it honestly feels like a bug on AWS Backend sinde rather than terraform.
Closing due to inactivity.
[!WARNING] This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them.
Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed.
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.
Terraform Core Version
1.6.*
AWS Provider Version
5.0.*
Affected Resource(s)
AWS Cognito client integration with pinpoint, e.g. this block here.
Expected Behavior
One either given a choice in which region to integrate with pinpoint, or the software derives the right one indirectly from available data. I guess, since recent times there are options in between what cognito regions can do analytics in what pinpoint regions, according to official documentation, but terraform always defaults to
us-east-1
Actual Behavior
At the moment, my user pool is in
eu-central-1
and the pinpoint app is also ineu-central-1
, but having the following config:results in the following effect (pay attention to the region):
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Just deploy the code with AWS provide in eu-central-1 region
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
Relevant doc: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-pinpoint-integration.html
Would you like to implement a fix?
None