Open pixie79 opened 1 year ago
Voting for Prioritization
Volunteering to Work on This Issue
Any update? or maybe a workaround?
Same issue happens when trying to import a aws_cloudwatch_event_target resource that is in a region different than the rule. I get : Cross-region api call is not allowed
Terraform Core Version
1.3.9
AWS Provider Version
4.67.0
Affected Resource(s)
aws_cloudwatch_event_target
Expected Behavior
I should be able to replicate events from a bus in one region to a bus in another using the bus ARN as a target
Actual Behavior
creating EventBridge Target (arn:aws:events:af-south-1::event-bus/ ): ValidationException: Cross-region api call is not allowed.
This was allowed when I added the target manually via the console.
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Try and attach a target to send events from an event bus in one region to an event bus in another via TF
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None