diff --git a/internal/pkg/template/templates/workloads/partials/cf/imported-alb-resources.yml b/internal/pkg/template/templates/workloads/partials/cf/imported-alb-resources.yml index 02a5e9f8aeb..10a20b82a42 100644 --- a/internal/pkg/template/templates/workloads/partials/cf/imported-alb-resources.yml +++ b/internal/pkg/template/templates/workloads/partials/cf/imported-alb-resources.yml @@ -141,7 +141,7 @@ HTTPListenerRuleForImportedALB{{ if ne $i 0 }}{{ $i }}{{ end }}: Type: AWS::ElasticLoadBalancingV2::ListenerRule Properties: Actions: - - TargetGroupArn: !Ref TargetGroup{{ if ne $i 0 }}{{ $i }}{{ end }} + - TargetGroupArn: !Ref TargetGroupForImportedALB{{ if ne $i 0 }}{{ $i }}{{ end }} Type: forward Conditions: {{- if $rule.AllowedSourceIps}}