Skip to content

Commit

Permalink
Reduce aarch64 ASG min size to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Jan 8, 2025
1 parent 6dddc2a commit db3b9ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spire/templates/shared-ecs/asg-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ Parameters:

Conditions:
IsProduction: !Equals [!Ref EnvironmentType, Production]
IsStaging: !Equals [!Ref EnvironmentType, Staging]
IsPrimaryRegion: !Equals [!Ref RegionMode, Primary]
KeepAsgAlive: !And [!Condition IsProduction, !Condition IsPrimaryRegion]
EnableNestedChangeSetScrubbingResources: !Equals [!Ref NestedChangeSetScrubbingResourcesState, Enabled]
Expand Down Expand Up @@ -381,7 +380,7 @@ Resources:
MaxSize: !If [IsProduction, "75", "20"]
MetricsCollection:
- Granularity: 1Minute
MinSize: !If [KeepAsgAlive, "7", "0"]
MinSize: !If [KeepAsgAlive, "0", "0"]
NewInstancesProtectedFromScaleIn: false
Tags:
- { PropagateAtLaunch: true, Key: Name, Value: !Sub "${RootStackName}_shared-asg-aarch64" }
Expand Down

0 comments on commit db3b9ac

Please sign in to comment.