Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions CFN_DEPLOY_AHA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -407,13 +407,14 @@ Resources:
Runtime: python3.8
Environment:
Variables:
REGIONS: ${Regions}
ACCOUNT_IDS: "${AccountIDs}"
REGIONS: "${Regions}"
FROM_EMAIL: "${FromEmail}"
TO_EMAIL: "${ToEmail}"
EMAIL_SUBJECT: "${Subject}"
DYNAMODB_TABLE: "${GlobalDDBTable}"
EVENT_SEARCH_BACK: ${EventSearchBack}
ORG_STATUS: ${AWSOrganizationsEnabled}
EVENT_SEARCH_BACK: "${EventSearchBack}"
ORG_STATUS: "${AWSOrganizationsEnabled}"
HEALTH_EVENT_TYPE: "${AWSHealthEventType}"
MANAGEMENT_ROLE_ARN: "${ManagementAccountRoleArn}"
LambdaExecutionRole:
Expand Down Expand Up @@ -523,7 +524,7 @@ Resources:
- dynamodb:UpdateItem
- dynamodb:UpdateTable
- dynamodb:GetRecords
Resource: !If [UsingMultiRegion, !GetAtt GlobalDDBTable.Arn, !GetAtt DynamoDBTable.Arn]
Resource: !If [UsingMultiRegion, [!GetAtt GlobalDDBTable.Arn, !Sub 'arn:aws:dynamodb:${SecondaryRegion}:${AWS::AccountId}:table/${GlobalDDBTable}'], !GetAtt DynamoDBTable.Arn]
- Effect: Allow
Action:
- events:PutEvents
Expand Down