Open MernovG opened 6 months ago
Voting for Prioritization
Volunteering to Work on This Issue
Still need help
Possibly related #13294
I found a workaround for this:
resource "aws_lb_listener" "this" {
lifecycle {
create_before_destroy = true
replace_triggered_by = [
aws_lb_target_group.target_group
]
}
}
This line ensures that any replacement of the target group also triggers a replacement of the load balancer listeners. Additionally, I added the create_before_destroy
to avoid service disruptions.
Terraform Core Version
1.6.5
AWS Provider Version
5.30.0
Affected Resource(s)
Listeners and target groups
Expected Behavior
All should be green at the and of
Actual Behavior
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
My issue is floating, I can’t say it rises every time I do the destroy procedure. But sometimes it ends up with an error.
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None