aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

AWS::ElasticLoadBalancingV2::TargetGroup - Unable to switch loadbalancer assigned to target group

Open
#424 0 comments 0 reactions 1 assignee Claimed by @luiseduardocolon View on GitHub
bug? networking & content deliv
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

## 1. Title
Change of loadbalancer assigned with target group not working correctly

## 2. Scope of request
There is an issue where a target group hooked with a listener rule cannot be updated via cloudformation update if we change the loadbalancer listener arn.

Exception from CF:
`Embedded stack arn:aws:cloudformation:eu-west-1:******:stack/Service-1RT431GLHHSJZ/2c9ae7a0-6f69-11ea-b62a-0abc432e4032 was not successfully updated. Currently in UPDATE_ROLLBACK_IN_PROGRESS with reason: The following resource(s) failed to update: [ListenerRule, DnsRecord].`

I think that it failed because the previous target group to listener rule connection was not deleted before new was created.

## 3. Expected behavior
CF API should check whether it should delete current listener rule connection and allow new one to be connected (if it is the same listener rule resource).

## 6. Category (required) - Will help with tagging and be easier to find by other users to +1
4. Networking & Content (VPC, Route53, API GW,...)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.