applying aws_lb_listener resource changes require adding additional stickiness optional parameters #14119
Labels
bug
Addresses a defect in current functionality.
prioritized
Part of the maintainer teams immediate focus. To be addressed within the current quarter.
service/ec2
Issues and PRs that pertain to the ec2 service.
service/elbv2
Issues and PRs that pertain to the elbv2 service.
Milestone
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/jnicholsthru/9c629a40aa22122e5b6b1b54bff1d803
Panic Output
Expected Behavior
When making a change to an aws_lb_listener resource such as a target weight, the change should apply successfully.
Actual Behavior
A ValidationError is encountered, requiring additional options parameters to be specified for stickiness.
Steps to Reproduce
terraform apply
terraform apply
The only way to proceed with applying changes is to add a stickness under the forward block.
Important Factoids
The documentation for the resource: https://www.terraform.io/docs/providers/aws/r/lb_listener.html#stickiness
indicates that stickiness parameter in forward blocks is optional, but it appears to be setting invalid defaults when a stickiness block is not defined.
References
The text was updated successfully, but these errors were encountered: