Fix parameters

This commit is contained in:
2020-05-14 05:08:59 -04:00
parent acad28b6bc
commit c748f8968e
2 changed files with 6 additions and 1 deletions

View File

@ -8,6 +8,10 @@ Parameters:
Type: String Type: String
Description: Name of the environment Description: Name of the environment
Default: production Default: production
release:
Type: String
Description: Name of the release name of the stack version to use.
Default: production
#---------------- #----------------
# IAM Information # IAM Information
@ -53,7 +57,7 @@ Resources:
Description: Adds and removes tasks from a redis list Description: Adds and removes tasks from a redis list
MemorySize: 128 MemorySize: 128
Timeout: 10 Timeout: 10
Role: !Ref QueueManagerRole Role: !Ref TaskManagerRole
VpcConfig: VpcConfig:
SecurityGroupIds: SecurityGroupIds:
- !Ref TaskListSecurityGroup - !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' TemplateURL: !Sub 'https://s3.${AWS::Region}.amazonaws.com/sumu-stacks/dt/${release}/cloudformation/dt/lambdas.yaml'
Parameters: Parameters:
environment: !Ref environment environment: !Ref environment
release: !Ref release
TaskManagerRole: !GetAtt IAM.Outputs.DefaultRole TaskManagerRole: !GetAtt IAM.Outputs.DefaultRole
VpcId: !Ref VpcId VpcId: !Ref VpcId
SubnetIds: !Ref PublicSubnets SubnetIds: !Ref PublicSubnets