Skip to content

Commit

Permalink
Fix agent deployment due to autoscaling
Browse files Browse the repository at this point in the history
  • Loading branch information
nightfury1204 committed Aug 2, 2024
1 parent 149acf3 commit 1a027ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/aws/formation/service.json.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@
}
},
{{ end }}
{{ if $.Autoscale }}
{{ if and ($.Autoscale) (not .Agent.Enabled) }}
"AutoscalingTarget": {
"Type": "AWS::ApplicationAutoScaling::ScalableTarget",
"Properties": {
Expand Down

0 comments on commit 1a027ce

Please sign in to comment.