Skip to content

Commit

Permalink
Update template.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
muratugureminoglu authored Dec 1, 2024
1 parent 848e69f commit 022fa03
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aws-custom-cluster/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -403,13 +403,12 @@ Resources:
Type: AWS::AutoScaling::ScalingPolicy
Properties:
AutoScalingGroupName: !Ref OriginGroup
Cooldown: 120
PolicyType: TargetTrackingScaling
TargetTrackingConfiguration:
PredefinedMetricSpecification:
PredefinedMetricType: ASGAverageCPUUtilization
TargetValue: 50
ScaleInCooldown: 300
ScaleOutCooldown: 300

InstanceSecurityGroup:
Type: 'AWS::EC2::SecurityGroup'
Expand Down

0 comments on commit 022fa03

Please sign in to comment.