P5-4983 give access to bernard sqs queue

This commit is contained in:
Martin Carlsson
2020-03-31 12:59:11 +02:00
committed by GitHub
parent 576877d61b
commit 2ebfec0f8f
3 changed files with 12 additions and 4 deletions
+6
View File
@@ -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: