added support for sqs sample ripper when creating new products (#167)
This commit is contained in:
@@ -30,6 +30,10 @@ Parameters:
|
||||
Type: String
|
||||
Description: For policy connection the Bernard queue arn is required
|
||||
|
||||
SampleRipperQueueArn:
|
||||
Type: String
|
||||
Description: For policy connection the Sample Ripper queue arn is required
|
||||
|
||||
# CPU
|
||||
# 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB
|
||||
# 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB
|
||||
@@ -155,6 +159,8 @@ Resources:
|
||||
ValueFrom: !Sub 'arn:aws:ssm:${AWS::Region}:${AWS::AccountId}:parameter/${EnvironmentName}/INTERIORS_TOKEN'
|
||||
- Name: 'BERNARD_QUEUE_URL'
|
||||
ValueFrom: !Sub 'arn:aws:ssm:${AWS::Region}:${AWS::AccountId}:parameter/${EnvironmentName}/sqs/PHOTOWALL_BERNARD_TASKS_QUEUE_URL'
|
||||
- Name: 'SAMPLE_SQS_QUEUE_URL'
|
||||
ValueFrom: !Sub 'arn:aws:ssm:${AWS::Region}:${AWS::AccountId}:parameter/${EnvironmentName}/SAMPLE_RIPPER_QUEUE'
|
||||
- Name: 'NEW_RELIC_LICENSE_KEY'
|
||||
ValueFrom: !Sub 'arn:aws:ssm:${AWS::Region}:${AWS::AccountId}:parameter/newrelic/LICENSE_KEY'
|
||||
# Send logs to CloudWatch Logs
|
||||
@@ -213,6 +219,10 @@ Resources:
|
||||
Action:
|
||||
- 'sqs:SendMessage'
|
||||
Resource: !Sub ${BernardQueueArn}
|
||||
- Effect: Allow
|
||||
Action:
|
||||
- 'sqs:SendMessage'
|
||||
Resource: !Sub ${SampleRipperQueueArn}
|
||||
|
||||
# A role for the containers
|
||||
TaskRole:
|
||||
|
||||
Reference in New Issue
Block a user