Skip to content
Discussion options

You must be logged in to vote

Resolved, the fix here was to first cast the step scaling action to an AutoScalingAction like auto_scaling_action = cloudwatch_actions.AutoScalingAction(step_scaling_action).

Because I was using ApplicationLoadBalancedFargateService it also seems like the more idiomatic way of creating an autoscaling action is to create a ScalableTarget from auto_scale_task_count and then use ScalableTarget.scale_on_metric.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sathvik-k
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant