Simple fix

This commit is contained in:
2020-05-14 05:03:53 -04:00
parent 8294bf4fb3
commit acad28b6bc
2 changed files with 14 additions and 13 deletions

View File

@ -44,19 +44,20 @@ Resources:
TaskListManagerLambda: TaskListManagerLambda:
Type: AWS::Lambda::Function Type: AWS::Lambda::Function
Runtime: python3.6 Properties:
Code: Runtime: python3.7
S3Bucket: sumu-stacks Code:
S3Key: !Sub "dt/${release}/lambda/task_queue_manager.zip" S3Bucket: sumu-stacks
FunctionName: !Sub "FnQueueManager-DT-${environment}" S3Key: !Sub "dt/${release}/lambda/task_queue_manager.zip"
Description: Adds and removes tasks from a redis list FunctionName: !Sub "FnQueueManager-DT-${environment}"
MemorySize: 128 Description: Adds and removes tasks from a redis list
Timeout: 10 MemorySize: 128
Role: !Ref QueueManagerRole Timeout: 10
VpcConfig: Role: !Ref QueueManagerRole
SecurityGroupIds: VpcConfig:
- !Ref TaskListSecurityGroup SecurityGroupIds:
SubnetIds: !Ref SubnetIds - !Ref TaskListSecurityGroup
SubnetIds: !Ref SubnetIds
Outputs: Outputs:
TaskListManager: TaskListManager: