Closed jjmonsalveg closed 2 months ago
Hello @jjmonsalveg, thanks for raising this. I'm currently travelling but will look into this early next week.
@jjmonsalveg apologies for the delay in response. Take a look at the cross region example and make sure that you have the assume role defined that allows the event bus in one account to an event bus in the other account and region.
SourceToDestinationEventBusRole:
Type: "AWS::IAM::Role"
Properties:
AssumeRolePolicyDocument:
Version: 2012-10-17
Statement:
- Effect: Allow
Principal:
Service:
- events.amazonaws.com
Action:
- "sts:AssumeRole"
Path: /
Policies:
- PolicyName: PutEventsOnDestinationEventBus
PolicyDocument:
Version: 2012-10-17
Statement:
- Effect: Allow
Action: "events:PutEvents"
Resource:
- !Ref SecurityEventBusArn
Hi, when I created the central event bus in account B in
us-east-1
and the event bus in account C inus-west-2
.I received the following error:
to deploy I ran the commands from the readme
Sam version: SAM CLI, version 1.90.0
In the same region, all is good but I have these restrictions and I need to use different regions. Am I missing something?