Skip to content

Commit db3b9ac

Browse files
committed
Reduce aarch64 ASG min size to 0
1 parent 6dddc2a commit db3b9ac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spire/templates/shared-ecs/asg-aarch64.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ Parameters:
4141

4242
Conditions:
4343
IsProduction: !Equals [!Ref EnvironmentType, Production]
44-
IsStaging: !Equals [!Ref EnvironmentType, Staging]
4544
IsPrimaryRegion: !Equals [!Ref RegionMode, Primary]
4645
KeepAsgAlive: !And [!Condition IsProduction, !Condition IsPrimaryRegion]
4746
EnableNestedChangeSetScrubbingResources: !Equals [!Ref NestedChangeSetScrubbingResourcesState, Enabled]
@@ -381,7 +380,7 @@ Resources:
381380
MaxSize: !If [IsProduction, "75", "20"]
382381
MetricsCollection:
383382
- Granularity: 1Minute
384-
MinSize: !If [KeepAsgAlive, "7", "0"]
383+
MinSize: !If [KeepAsgAlive, "0", "0"]
385384
NewInstancesProtectedFromScaleIn: false
386385
Tags:
387386
- { PropagateAtLaunch: true, Key: Name, Value: !Sub "${RootStackName}_shared-asg-aarch64" }

0 commit comments

Comments
 (0)