Fix parameters

This commit is contained in:
Layla 2020-05-14 05:08:59 -04:00
parent acad28b6bc
commit c748f8968e
No known key found for this signature in database
GPG Key ID: A494D9357BA1BE31
2 changed files with 6 additions and 1 deletions

View File

@ -8,6 +8,10 @@ Parameters:
Type: String
Description: Name of the environment
Default: production
release:
Type: String
Description: Name of the release name of the stack version to use.
Default: production
#----------------
# IAM Information
@ -53,7 +57,7 @@ Resources:
Description: Adds and removes tasks from a redis list
MemorySize: 128
Timeout: 10
Role: !Ref QueueManagerRole
Role: !Ref TaskManagerRole
VpcConfig:
SecurityGroupIds:
- !Ref TaskListSecurityGroup

View File

@ -87,6 +87,7 @@ Resources:
TemplateURL: !Sub 'https://s3.${AWS::Region}.amazonaws.com/sumu-stacks/dt/${release}/cloudformation/dt/lambdas.yaml'
Parameters:
environment: !Ref environment
release: !Ref release
TaskManagerRole: !GetAtt IAM.Outputs.DefaultRole
VpcId: !Ref VpcId
SubnetIds: !Ref PublicSubnets