Skip to content

Commit

Permalink
Merge pull request #1392 from toothbrush/20241029-c8g-instances
Browse files Browse the repository at this point in the history
Add support for c8g instances.
  • Loading branch information
DrJosh9000 authored Oct 29, 2024
2 parents 421abef + c724373 commit 93a420f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions templates/aws-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ Rules:
!Or
- !Equals
- !Ref PipelineSigningKMSKeyId
- ""
- ""
- !Equals
- !Ref PipelineSigningKMSKeySpec
- "none"
Expand Down Expand Up @@ -739,7 +739,7 @@ Conditions:

UseCostAllocationTags:
!Equals [ !Ref EnableCostAllocationTags, "true" ]

UsePipelineSigningKMSKey:
!Not [ !Equals [ !Ref PipelineSigningKMSKeyId, "" ] ]

Expand Down Expand Up @@ -789,6 +789,7 @@ Conditions:
- !Equals [ !Select [ 0, !Split [ ".", !Ref InstanceTypes ] ], "c7g" ]
- !Equals [ !Select [ 0, !Split [ ".", !Ref InstanceTypes ] ], "c7gd" ]
- !Equals [ !Select [ 0, !Split [ ".", !Ref InstanceTypes ] ], "c7gn" ]
- !Equals [ !Select [ 0, !Split [ ".", !Ref InstanceTypes ] ], "c8g" ]
- !Equals [ !Select [ 0, !Split [ ".", !Ref InstanceTypes ] ], "g5g" ]
- !Or
- !Equals [ !Select [ 0, !Split [ ".", !Ref InstanceTypes ] ], "i4g" ]
Expand Down Expand Up @@ -941,7 +942,7 @@ Resources:
Name: !Sub "/${AWS::StackName}/buildkite/agent-token"
Type: String
Value: !Ref BuildkiteAgentToken

PipelineSigningKMSKey:
Type: AWS::KMS::Key
Condition: CreatePipelineSigningKMSKey
Expand Down

0 comments on commit 93a420f

Please sign in to comment.