From c748f8968ecf8e12d4566a1aaa65f28283bfbc36 Mon Sep 17 00:00:00 2001 From: Joseph Manley Date: Thu, 14 May 2020 05:08:59 -0400 Subject: [PATCH] Fix parameters --- infrastructure/cloudformation/dt/lambdas.yaml | 6 +++++- infrastructure/cloudformation/dt/top.yaml | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/infrastructure/cloudformation/dt/lambdas.yaml b/infrastructure/cloudformation/dt/lambdas.yaml index 5af2113..369ab4c 100644 --- a/infrastructure/cloudformation/dt/lambdas.yaml +++ b/infrastructure/cloudformation/dt/lambdas.yaml @@ -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 diff --git a/infrastructure/cloudformation/dt/top.yaml b/infrastructure/cloudformation/dt/top.yaml index 79b13bb..759e6b4 100644 --- a/infrastructure/cloudformation/dt/top.yaml +++ b/infrastructure/cloudformation/dt/top.yaml @@ -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