You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In AWS provider 5.35.0 released 2/1/24 if you have a target group arn on a listener with type 'redirect' it will give this warning:
│ Warning: Invalid Attribute Combination
│
│ with module.alb.aws_lb_listener.http_redirect[0],
│ on .terraform/modules/alb/main.tf line 183, in resource "aws_lb_listener" "http_redirect":
│ 183: target_group_arn = one(aws_lb_target_group.default[*].arn)
│
│ Attribute "default_action[0].target_group_arn" cannot be specified when "default_action[0].type" is "redirect".
│
│ This will be an error in a future release.
Expected Behavior
No warnings (or future errors) when deploying a redirect listener.
Steps to Reproduce
Upgrade to AWS provider 5.35.0 and attempt to deploy an ALB with a redirect listener.
Screenshots
No response
Environment
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
╷
│ Warning: Invalid Attribute Combination
│
│ with aws_lb_listener.mylb,
│ on loadbalancer.tf line 96, in resource "aws_lb_listener" "mylb":
│ 96: default_action {
│
│ Attribute "default_action[0].target_group_arn" cannot be specified when "default_action[0].type" is "redirect".
│
│ This will be an error in a future release.
Describe the Bug
In AWS provider 5.35.0 released 2/1/24 if you have a target group arn on a listener with type 'redirect' it will give this warning:
Expected Behavior
No warnings (or future errors) when deploying a redirect listener.
Steps to Reproduce
Upgrade to AWS provider 5.35.0 and attempt to deploy an ALB with a redirect listener.
Screenshots
No response
Environment
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: