https://pulumi.com logo
Title
g

green-intern-27665

09/29/2021, 1:18 PM
Hi!!! one question. I want to add autoscalling to my ECS fargate tasks. I have trying to dig into the documentation and all the examples that I have seen are related to EC2 instances but I haven’t found information about Fargate tasks. Any idea or resource to check?
c

crooked-pillow-11944

09/29/2021, 2:07 PM
The best way to learn how to do anything with Pulumi is to look first how to do it with Terraform Once you know the resources you need you can look at Pulumi docs to see how to provision those resources
l

little-summer-88406

09/29/2021, 2:13 PM
Wouldnt that imply learning HCL?
c

crooked-pillow-11944

09/29/2021, 2:14 PM
No - it implies understanding basic concepts of how resources are defined Pulumi uses much the same conventions as Terraform's HCL
l

little-summer-88406

09/29/2021, 2:22 PM
Okay fair enough, I've skipped Terraform but Im getting hang of concepts etc.. without it, perhaps previous exposure k8s helped
c

crooked-pillow-11944

09/29/2021, 2:28 PM
If you are deploying an EKS cluster I would agree If you're deploying ECS there are a million examples of how to deploy ECS clusters with Teraform
g

green-intern-27665

09/29/2021, 2:39 PM
In fact with pulumi there are also several examples configuring the autoscale using EC2 but for Fargate tasks I haven’t been able to find any