Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ecs_service -- with force_new_deployment user can specify taskdef or …
…not (ansible-collections#1680) ecs_service -- with force_new_deployment user can specify taskdef or not SUMMARY Fixes ansible-collections#1106 Support force_new_deployment without having to specify a task definition. ISSUE TYPE Feature Pull Request COMPONENT NAME ecs_service ADDITIONAL INFORMATION Previously task_definition was required when state was present; regardless of whether force_new_deployment was set or not. Previous error was along the lines of "state is present but all of the following are missing: task_definition". New behavior enforces either task_definition or force_new_deployment is set. If both are provided, the user's task_definition will be sent through to boto. If only task_definition is defined, original behavior resumes. If only force_new_deployment is set, pull the taskDefinition from existing and pass it through to boto. Reviewed-by: Alina Buzachis Reviewed-by: Mark Chappell Reviewed-by: Markus Bergholz <git@osuv.de>
- Loading branch information