https://pulumi.com logo
Title
m

modern-evening-83482

09/13/2022, 9:25 PM
hello all. does pulumi support creating ecs scheduled tasks?
s

stocky-restaurant-98004

09/13/2022, 9:30 PM
It should. Create a task definition, and trigger it with a scheduled CloudWatch event.
m

modern-evening-83482

09/13/2022, 9:31 PM
oh ok thank you...
i was looking for a scheduled task resource...
s

stocky-restaurant-98004

09/13/2022, 9:34 PM
I think it's just a task definition, and then you set that definition as the target of the event. I think it's these 2 resources: https://www.pulumi.com/registry/packages/aws/api-docs/ecs/taskdefinition/ https://www.pulumi.com/registry/packages/aws/api-docs/cloudwatch/eventrule/
m

modern-evening-83482

09/13/2022, 9:34 PM
thnx
s

stocky-restaurant-98004

09/13/2022, 9:34 PM
m

modern-evening-83482

09/13/2022, 9:34 PM
yeah i think that is pretty much all i need...
i will create the cron schedule
s

stocky-restaurant-98004

09/13/2022, 9:36 PM
Good luck!
m

modern-evening-83482

09/13/2022, 10:44 PM
I think we also need an EventTarget