This message was deleted.
# aws
s
This message was deleted.
p
Thanks for that, I was actually meaning for Pulumi. Is there a way to do it using that?
g
you should be able to find all necessary components either in either awsx https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/awsx/ecs/ or https://www.pulumi.com/docs/reference/pkg/aws/ecs/
also checkout https://github.com/pulumi/examples has plenty of basic examples, usually good enough to get started
p
First you need to create an app autoscaling target (https://www.pulumi.com/docs/reference/pkg/aws/appautoscaling/target/#ecs-service-autoscaling) which in your case will be an ECS service. Then you need to define the autoscaling policy (https://www.pulumi.com/docs/reference/pkg/aws/appautoscaling/policy/#ecs-service-autoscaling). AFAIK there's no example in pulumi/examples but I can provide one if you won't be able to come up with the solution from the examples in documentation.
p
Awesome thanks guys, Ill take a look and report back.