https://pulumi.com logo
Title
a

able-energy-34495

04/15/2023, 8:06 PM
Anyone have experience with the pulumi_aws python module and creating an ECS Cluster from EC2 instances?
b

billowy-army-68599

04/15/2023, 8:06 PM
@able-energy-34495 I haven’t done this in python yet, but here’s a typescript example which should be portable to Pytho https://github.com/jaxxstorm/pulumi-examples/blob/main/typescript/aws/ecs/index.ts
a

able-energy-34495

04/15/2023, 8:07 PM
Awesome Thanks Jaxxstorm! I'll take a look.
@billowy-army-68599 would you know how to apply the cloudinit resource to a ecs cluster in python?
I have the cloudinit resource rendering correctly, but I don't know how to apply it to the cluster in python
b

billowy-army-68599

04/17/2023, 4:25 PM
what code do you currently have?
a

able-energy-34495

04/17/2023, 4:25 PM
It's pretty monolithic now, let me throw it in a code paste. one sec
I don't see an "apply" method in the aws docs
b

billowy-army-68599

04/17/2023, 4:27 PM
have you added nodes to your cluster?
a

able-energy-34495

04/17/2023, 4:28 PM
let me take a look
oh
This will help 🙂