events:PutTargets,PutRule,etc.etc generate invalid IAM when default EventBus is used
Closed this issue · 2 comments
OlafConijn commented
when generating IAM policies for some of the eventbus operations and not specifying the EventBus (have it use the default bus) the IAM permission is wrong.
expected: arn:aws:events:us-east-1:123456789012:rule/MyRule
actual: arn:aws:events:us-east-1:123456789012:rule[/*]/MyRule
iann0036 commented
Hey @OlafConijn,
Thanks for raising!
I've added a fix that should hopefully override the SAR-provided ARN with one that should be default EventBus-aware, but try it out and let me know.
OlafConijn commented