Query in redirect block of resource aws_lb_listener_rule can no longer be empty #19475
Labels
bug
Addresses a defect in current functionality.
service/elbv2
Issues and PRs that pertain to the elbv2 service.
After commit b3c7930 it is no longer possible to create an aws_lb_listener_rule that redirects to another URL and skips the query entirely. It used to be possible to create a "" query. A null query field defaults to "#{query}", which forwards the ?query=string to the new website. Skipping the query value does the same.
Terraform CLI and Terraform AWS Provider Version
Tested with Terraform 0.15.4. Affected AWS Provider versions from 3.40 to git master.
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Expected Behavior
The query field in redirect should be set to empty.
Actual Behavior
Steps to Reproduce
terraform apply
Community Note
The text was updated successfully, but these errors were encountered: