-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
elb_target_group: health_check_port is ignored #43244
Comments
Files identified in the description: If these files are inaccurate, please update the |
Hi dseeley-sky, Thank you for the issue, just so you are aware we have a dedicated Working Group for aws. |
This is happening because it's TCP type. I'll raise a PR with a fix shortly. |
FYI - the other parameters (health_check_interval, health_check_timeout, etc) are also ignored. |
@dseeley-sky try the above PR and see if it fixes it for you |
@wimnat Yes - this fixes it - thanks! |
@dseeley-sky can you please comment "shipit" on the PR? |
…e#43247) * Fix health check configurations being ignored - ansible#43244 * Ensure health_check_protocol is not None before check * Simplify long indented if statement
…e#43247) * Fix health check configurations being ignored - ansible#43244 * Ensure health_check_protocol is not None before check * Simplify long indented if statement (cherry picked from commit 7e426b0)
@dseeley-sky Now when setting a health_check_path without providing a protocol the target group is being created with default HTTP protocol and the health_check_path is being ignored and set to "/" I think we should either cancel this dependency between the path and the protocol or add a check and fail the run if there's a path set but no protocol set (and update the documentation accordingly). WDYT? |
SUMMARY
When creating a elb_target_group, setting health_check_port has no effect and 'traffic-port' is always selected
ISSUE TYPE
COMPONENT NAME
elb_target_group
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
CentOS 7
STEPS TO REPRODUCE
EXPECTED RESULTS
I expect the target group to be created with the health check port set to 80.
If the command is run using aws cli, it works fine:
ACTUAL RESULTS
targetgroup is created with health_check_port set to 'traffic-port'.
The text was updated successfully, but these errors were encountered: