polite-napkin-90098
03/10/2025, 6:42 PMaws_native.ecs.TaskDefinition
and aws.cloudwatch.EventTarget
/`aws.cloudwatch.EventRule` I want to override some of the ENV in the task definition when we're in the test environment.
When I look in the AWS console in the "Update Scheduled Task" dialog there is an optional Container overrides section where I can override the CMD and the ENV for the container run by that scheduled task.
The PulumiAI helpfully told me I could add an overrides section to the EventTarget but on running the code I discovered that was an hallucination. I've checked the docs and neither the EventTarget nor the ecsTarget within that have an overrides section.
Is this a limitation of the AWS package? Does the native package allow me to do that? (I'll check) or do I just need to make twice the number of Task Definitions and be thankful I only have 2 environments?polite-napkin-90098
03/10/2025, 6:47 PMquick-house-41860
03/11/2025, 9:49 AMinput
property of the aws.cloudwatch.EventTarget
: https://www.pulumi.com/registry/packages/aws/api-docs/cloudwatch/eventtarget/#ecs-run-task-with-role-and-task-override-usage
the input
property is just a json string that should be a valid ECS RunTask
TaskOverride.polite-napkin-90098
03/17/2025, 9:17 PM