Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions templates/aws-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ Metadata:
- RootVolumeIops
- RootVolumeThroughput
- ManagedPolicyARNs
- ScalerManagedPolicyARNs
- InstanceRoleARN
- InstanceRoleName
- InstanceRolePermissionsBoundaryARN
Expand Down Expand Up @@ -816,6 +817,11 @@ Parameters:
Description: Optional - Comma separated list of managed IAM policy ARNs to attach to the instance role.
Default: ""

ScalerManagedPolicyARNs:
Type: CommaDelimitedList
Description: Optional - Comma separated list of managed IAM policy ARNs to attach to the autoscaling Lambda execution role.
Default: ""

IMDSv2Tokens:
Type: String
Description: >
Expand Down Expand Up @@ -2864,6 +2870,7 @@ Resources:
BuildkiteAgentTokenParameter: !If [ UseCustomerManagedParameterPath, !Ref BuildkiteAgentTokenParameterStorePath, !Ref BuildkiteAgentTokenParameter ]
BuildkiteAgentTokenParameterStoreKMSKey: !If [ UseCustomerManagedKeyForParameterStore, !Ref BuildkiteAgentTokenParameterStoreKMSKey, "" ]
RolePermissionsBoundaryARN: !If [ SetInstanceRolePermissionsBoundaryARN, !Ref InstanceRolePermissionsBoundaryARN, "" ]
ManagedPolicyARNs: !Join [ ',', !Ref ScalerManagedPolicyARNs ]
AgentEndpoint: !Ref AgentEndpoint
BuildkiteQueue: !Ref BuildkiteQueue
AgentsPerInstance: !Ref AgentsPerInstance
Expand Down Expand Up @@ -2895,6 +2902,7 @@ Resources:
BuildkiteAgentTokenParameter: !If [ UseCustomerManagedParameterPath, !Ref BuildkiteAgentTokenParameterStorePath, !Ref BuildkiteAgentTokenParameter ]
BuildkiteAgentTokenParameterStoreKMSKey: !If [ UseCustomerManagedKeyForParameterStore, !Ref BuildkiteAgentTokenParameterStoreKMSKey, "" ]
RolePermissionsBoundaryARN: !If [ SetInstanceRolePermissionsBoundaryARN, !Ref InstanceRolePermissionsBoundaryARN, "" ]
ManagedPolicyARNs: !Join [ ',', !Ref ScalerManagedPolicyARNs ]
AgentEndpoint: !Ref AgentEndpoint
BuildkiteQueue: !Ref BuildkiteQueue
AgentsPerInstance: !Ref AgentsPerInstance
Expand Down