P5-4983 give access to bernard sqs queue
This commit is contained in:
@@ -26,6 +26,9 @@ Parameters:
|
||||
Type: String
|
||||
Description: Name of env such as staging or production
|
||||
|
||||
BernardSQSPolicy:
|
||||
Type: String
|
||||
|
||||
# CPU
|
||||
# 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB
|
||||
# 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB
|
||||
@@ -158,6 +161,9 @@ Resources:
|
||||
Principal:
|
||||
Service: ecs-tasks.amazonaws.com
|
||||
Action: 'sts:AssumeRole'
|
||||
ManagedPolicyArns:
|
||||
- !Ref BernardSQSPolicy
|
||||
|
||||
|
||||
# A role needed for auto scaling
|
||||
AutoScalingRole:
|
||||
|
||||
Reference in New Issue
Block a user