Currently the aws_lb resource does not allow enabling of access logs. It would be really helpful if access logs could be enabled via terraform for Network Load Balancers
But TF doesn't support this yet, no?
@mbamber correct, the aws_lb resource currently ignores configuring NLB access logs. I'm currently working on removing that. ๐
Thanks for this @bflad - Looking forward to seeing this merged ๐
Support for NLB access logs has been merged and will release with version 2.8.0 of the Terraform AWS Provider, likely later this week. ๐
This has been released in version 2.8.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
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!
Most helpful comment
Support for NLB access logs has been merged and will release with version 2.8.0 of the Terraform AWS Provider, likely later this week. ๐