Skip to content

Adds support for capacity providers to ECS Executor - #36722

Merged
ferruzzi merged 6 commits into
apache:mainfrom
aws-mwaa:ferruzzi/ecs-executor/cap-providers
Jan 11, 2024
Merged

Adds support for capacity providers to ECS Executor#36722
ferruzzi merged 6 commits into
apache:mainfrom
aws-mwaa:ferruzzi/ecs-executor/cap-providers

Conversation

@ferruzzi

@ferruzziferruzzi commented Jan 10, 2024

Copy link
Copy Markdown
Contributor

Users have asked to be able to use Capacity Provider Strategies instead of the Launch Type (they are mutually exclusive) with the new ECS Executor, so this PR adds that support.

Passes all static checks locally and added unit tests for coverage of new code.

closes: #35489


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

Comment threadairflow/providers/amazon/provider.yaml Outdated
Comment threadairflow/providers/amazon/aws/executors/ecs/ecs_executor_config.py Outdated
Comment threadairflow/providers/amazon/aws/executors/ecs/ecs_executor_config.py Outdated
Comment threadtests/providers/amazon/aws/executors/ecs/test_ecs_executor.py Outdated
@ferruzzi
ferruzzi merged commit e7166bb into apache:mainJan 11, 2024
@ferruzzi
ferruzzi deleted the ferruzzi/ecs-executor/cap-providers branch January 11, 2024 19:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providersprovider:amazonAWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ECS Executor - Supporting Capacity Providers

4 participants

@ferruzzi@eladkal@o-nikolas@vincbeck