aws_ecs_patterns: add environment parameter to ScheduledFargateTaskDefinitionOptions #27513
Labels
@aws-cdk/aws-ecs-patterns
Related to ecs-patterns library
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
Add environment variables parameter to a ScheduledFargateTask like it is possible in ScheduledFargateTaskImageOptions
Use Case
I want to reuse a task definition for a list of tasks, but also want to hand over a list of environment variables to set it for the containers.
The same is possible in the AWS web console (Scheduled Task->Update->Container overwrites)
At the moment a new task definition is created for each task using the ScheduledFargateTaskImageOptions method.
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.84
Environment details (OS name and version, etc.)
Amazon Linux 2
The text was updated successfully, but these errors were encountered: