-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Enable/Disable Option For ELB Access logs #8438
Enable/Disable Option For ELB Access logs #8438
Conversation
Hi @optimisticanshul! I considered adding this to ALBs last week - my question is why you would have an enabled option vs just adding or removing the block? |
Hi @optimisticanshul - the reason seems valid - one thing I am concerned about here is that this may not be backwards compatible (because of the boolean defaulting to true). It'd be a lot easier to merge if there were some acceptance tests around the change - perhaps one that creates an ELB with no access logs, adds disabled, enables, disables and then removes the access logs block. Is this something you might be able to take a look at? |
@jen20 Yes i can do that, but i don't think this will break backward compatibility because of https://github.com/optimisticanshul/terraform/blob/master/builtin/providers/aws/resource_aws_elb.go#L523 this set enabled to true. |
Hi @optimisticanshul This LGTM!
One thing, this didn't have docs - so i added them d330ac4 Thanks for the work here :) Paul |
Thanks for working on this :) |
@krushi90 welcome 🎉 |
Is there an equivalent of this for the ALB ( |
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Fixes #7721
/cc @stack72