Skip to content

Commit

Permalink
adjust policies
Browse files Browse the repository at this point in the history
  • Loading branch information
adnahassan committed Oct 24, 2024
1 parent 36c17b1 commit 42b17f2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions iac/main/resources/state-machine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -937,19 +937,19 @@ HypercareAdjustedScheduleEventBridgeRule:
HypercareAdjustedScheduleEventBridgeStateMachineInvokeRole:
Type: AWS::IAM::Role
Properties:
RoleName: 'HypercareAdjustedScheduleEventBridgeStateMachineInvokeRole'
RoleName: !Sub ${Environment}-dap-hypercare-eventbridge-role
AssumeRolePolicyDocument:
Version: '2012-10-17'
Statement:
- Effect: 'Allow'
Principal:
Service: 'events.amazonaws.com'
Action: 'sts:AssumeRole'
Policies:
- PolicyName: !Sub ${Environment}-dap-hyperbridge-rule-role
PolicyDocument:
Version: '2012-10-17'
Statement:
- Effect: 'Allow'
Action: 'states:StartExecution'
Resource: !Ref TxmaRawLayerConsolidatedSchemaProcessingStateMachine
Policies:
- PolicyName: !Sub ${Environment}-dap-hyperbridge-rule-role
PolicyDocument:
Version: '2012-10-17'
Statement:
- Effect: 'Allow'
Action: 'states:StartExecution'
Resource: !Ref TxmaRawLayerConsolidatedSchemaProcessingStateMachine

0 comments on commit 42b17f2

Please sign in to comment.