mirror of https://github.com/OpenVidu/openvidu.git
openvidu-deployment: aws - Change IAM policy resources in CloudFormation templates for automation execution change in AWS
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…
Reference in New Issue