-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
aws_cloudwatch_event_rule creates rules in other accounts but fails to read them with error unexpected format for ID #19234
Comments
I'm experiencing the same issue even when creating rules in the same account
|
This PR should fix the issue. |
This functionality has been released in v3.55.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. 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. |
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
The rule is created and the provider exits successfully
Actual Behavior
The rule was created successfully, however terraform exited with failure. The failure message, which also happens on subsequent runs of terraform was:
Steps to Reproduce
terraform apply
Important Factoids
We were following these guidelines: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cross-account.html
In our case, we have an AWS organization. For simplicity, we'll say we have accounts A & B. Account A has an event bus that is receiving certain events. There are IAM permissions that allow anyone in the organization to create rules against that event bus without having to assume a role in that account directly.
References
In searching around for solution to this, I found #16982, which would have solved my problem, but it appears to have been closed by the contributor. #19072 was promising, but seemed specific to partner buses, which isn't my use case.
The text was updated successfully, but these errors were encountered: