openvidu-deployment: aws - Change IAM policy resources in CloudFormation templates for automation execution change in AWS
This commit is contained in:
parent
942e5d1062
commit
755da724b3
@ -1975,7 +1975,9 @@ Resources:
|
||||
- Effect: Allow
|
||||
Action:
|
||||
- ssm:StartAutomationExecution
|
||||
Resource: !Sub arn:${AWS::Partition}:ssm:${AWS::Region}:${AWS::AccountId}:automation-definition/${StopMediaNodeAutomationDocument}:$DEFAULT
|
||||
Resource:
|
||||
- !Sub arn:${AWS::Partition}:ssm:${AWS::Region}:${AWS::AccountId}:automation-execution/*
|
||||
- !Sub arn:${AWS::Partition}:ssm:${AWS::Region}:${AWS::AccountId}:document/${StopMediaNodeAutomationDocument}
|
||||
PolicyName: !Sub StopMediaNodeCloudWatchEventPolicy-${AWS::Region}-${AWS::StackName}
|
||||
- PolicyDocument:
|
||||
Version: '2012-10-17'
|
||||
|
||||
@ -2301,7 +2301,9 @@ Resources:
|
||||
- Effect: Allow
|
||||
Action:
|
||||
- ssm:StartAutomationExecution
|
||||
Resource: !Sub arn:${AWS::Partition}:ssm:${AWS::Region}:${AWS::AccountId}:automation-definition/${StopMediaNodeAutomationDocument}:$DEFAULT
|
||||
Resource:
|
||||
- !Sub arn:${AWS::Partition}:ssm:${AWS::Region}:${AWS::AccountId}:automation-execution/*
|
||||
- !Sub arn:${AWS::Partition}:ssm:${AWS::Region}:${AWS::AccountId}:document/${StopMediaNodeAutomationDocument}
|
||||
PolicyName: !Sub StopMediaNodeCloudWatchEventPolicy-${AWS::Region}-${AWS::StackName}
|
||||
- PolicyDocument:
|
||||
Version: '2012-10-17'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user