hello all. does pulumi support creating ecs schedu...
# general
m
hello all. does pulumi support creating ecs scheduled tasks?
s
It should. Create a task definition, and trigger it with a scheduled CloudWatch event.
m
oh ok thank you...
i was looking for a scheduled task resource...
s
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
thnx
s
m
yeah i think that is pretty much all i need...
i will create the cron schedule
s
Good luck!
m
I think we also need an EventTarget
104 Views