From c948d0fb0bde568b9f975bb79f1f5ed28c8f509d Mon Sep 17 00:00:00 2001 From: tim Date: Mon, 11 Nov 2024 03:58:31 +0200 Subject: [PATCH] r71127-r71052-attemt-to-workaround-elb-module-change-or-bug --- roles/aws/aws_ec2_autoscale_cluster/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/aws/aws_ec2_autoscale_cluster/tasks/main.yml b/roles/aws/aws_ec2_autoscale_cluster/tasks/main.yml index fdc8384c6..c2118b7c6 100644 --- a/roles/aws/aws_ec2_autoscale_cluster/tasks/main.yml +++ b/roles/aws/aws_ec2_autoscale_cluster/tasks/main.yml @@ -348,7 +348,7 @@ Port: "{{ aws_ec2_autoscale_cluster.alb_http_port }}" DefaultActions: - Type: forward - TargetGroupName: "{{ aws_ec2_autoscale_cluster.name }}" + TargetGroupArn: "{{ _aws_ec2_target_group_created.target_group_arn }}" Rules: "{{ aws_ec2_autoscale_cluster.listeners_http.rules }}" _aws_ec2_autoscale_cluster_listeners_redirect: Protocol: HTTP @@ -370,7 +370,7 @@ - CertificateArn: "{{ _ssl_certificate_ARN }}" DefaultActions: - Type: forward - TargetGroupName: "{{ aws_ec2_autoscale_cluster.name }}" + TargetGroupArn: "{{ _aws_ec2_target_group_created.target_group_arn }}" Rules: "{{ aws_ec2_autoscale_cluster.listeners_https.rules }}" when: aws_ec2_autoscale_cluster.create_elb