-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Add param "enabled" to lb health checks #7570
Conversation
@bflad do you mind reviewing this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@felixb thanks for the contribution. This is looking good. I left a few questions around the default value that I would like to get your thoughts on. There also appears to be an issue with the default interval health check value which we might need to address in this PR. Please let me know if you have any questions.
I mainly added tests and tweaked the docs a little bit.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @felixb sorry for the slow feedback here. I took at look and the changes and provided a few suggestions to get this merged.
The test look good so thank for adding those in. While testing I found an issue with the import functionality, and the use of the Update function in the Create function, but that is out of scope for this PR. I will open a new issue for making those fixes.
@nywilken I just checked in the changes you asked for. Tests are still passing. Do you want me to squash and rebase for more compact history? |
That would be great! Thanks for making the changes. |
Done. Thanks for merging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @felixb apologies again for the slow feedback, but thank you for making the requested updates. I'm going to make one change before merging (remove the DiffSuppressFunc form the top protocol attribute as it is not needed). This will be released in version 2.5 slated for later today, or tomorrow.
Add param "enabled" to lb health checks
This has been merged to master via a manual merge 7f90859. I was hoping GitHub would've picked it up. |
This has been released in version 2.5.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! |
Fixes #6963
Changes proposed in this pull request:
Output from acceptance testing:
Notes:
The API/CLI defaults for health check enabled are true for ip or instance, false for lambdas.
Specifying the health check block indicates an interest in enabling them. So this code defaults to true in any case.