-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ecs_service load_balancers not working with container port #265
Comments
somewhere is a type error
So somehwere you're refering to a position of an array? But I cannot find it adhoc. - name: update or create ecs service for
ecs_service:
state: present
region: "{{ region }}"
name: "{{ SERVICE }}"
cluster: "{{ CLUSTER }}"
task_definition: "{{ TASK_NAME }}:{{ output.taskdefinition.revision }}"
desired_count: "{{ DESIRED_COUNT }}"
launch_type: EC2
load_balancers:
- targetGroupArn: "{{ tg.target_groups[0].target_group_arn }}"
containerName: website
containerPort: 80
deployment_configuration:
minimum_healthy_percent: 50 |
same error. |
This was referenced Oct 30, 2020
@Lennon95 as a workaround, you can use community.aws collection 1.0.0. The error was introduced later. |
tremble
pushed a commit
that referenced
this issue
Nov 12, 2020
* #265 fix element type for load_balancers in ecs_service
alinabuzachis
pushed a commit
to alinabuzachis/community.aws
that referenced
this issue
Jul 19, 2021
…ns#286) * ansible-collections#265 fix element type for load_balancers in ecs_service
alinabuzachis
pushed a commit
to alinabuzachis/community.aws
that referenced
this issue
Jul 19, 2021
…ns#286) * ansible-collections#265 fix element type for load_balancers in ecs_service
danielcotton
pushed a commit
to danielcotton/community.aws
that referenced
this issue
Nov 23, 2021
…ns#286) * ansible-collections#265 fix element type for load_balancers in ecs_service
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SUMMARY
The ecs_service module doesn't work as expected when a load balancer is defined with a container port.
ISSUE TYPE
COMPONENT NAME
ecs_service.py
ANSIBLE VERSION
OS / ENVIRONMENT
Docker inside alpine image.
STEPS TO REPRODUCE
Just execute the following task and it should fail.
My var file is here, in case you're wondering:
EXPECTED RESULTS
It should work.
ACTUAL RESULTS
It fails with the following error message:
The text was updated successfully, but these errors were encountered: