-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws_lb does not support all loadbalancer attributes #3511
Comments
Thanks for the hard work, everyone! |
Hello, In our tests:
|
We seem to be having exactly the same issue as @octplane is having. Should this ticket be re-opened or a new one created? |
I've traced through the code and think I've found the issue, I should have a PR with a fix up soon |
The bug appears to be a bit more elusive than I thought. Working on a fix. I have made a new issue to track progress. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
The
aws_lb
resource support access logs and deletion protection, but there are a few other attributes that are not exposed via this provider [0][1]. This resource exposes the two available attributes as top-level arguments, while, for example, CloudFormation asks for a list of attributes [2], which I think is more flexible, although maybe this resource tries to keep things similar toaws_elb
.I need to enable cross-zone load balancing and adjust the timeout, but this must currently be done out-of-band.
Affected Resource(s)
References
0: https://www.terraform.io/docs/providers/aws/r/lb.html
1:
https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_LoadBalancerAttribute.html
2: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-loadbalancer.html#cfn-elasticloadbalancingv2-loadbalancer-loadbalancerattributes
The text was updated successfully, but these errors were encountered: