Skip to content

Commit

Permalink
Merge pull request #70 from buildkite/function-description
Browse files Browse the repository at this point in the history
  • Loading branch information
triarius authored Jan 5, 2023
2 parents e219eb7 + b704753 commit fd0d243
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ Parameters:
Default: default
MinLength: 1

RootStackName:
Description: Name of parent CloudFormation stack (if exists)
Type: String
Default: !Ref AWS::StackName

AgentAutoScaleGroup:
Description: The name of the Auto Scaling group to set desired count on.
Type: String
Expand Down Expand Up @@ -160,6 +165,7 @@ Resources:
AutoscalingFunction:
Type: AWS::Serverless::Function
Properties:
Description: !Sub Polls Buildkite and triggers scale out of elastic stack ${RootStackName}
CodeUri: handler.zip
Role: !If [ CreateRole, !GetAtt ExecutionRole.Arn, !Ref AutoscalingLambdaExecutionRole ]
PermissionsBoundary: !If [ SetRolePermissionsBoundaryARN, !Ref RolePermissionsBoundaryARN, !Ref "AWS::NoValue" ]
Expand Down

0 comments on commit fd0d243

Please sign in to comment.