Open s4ke opened 1 year ago
This issue has been marked as stale because it has not had recent activity. The bot will close the issue if no further action occurs.
@s4ke The load balancer service module does indeed not validate the arguments correclty. If you define health check you must define all the required arguments.
You can enable the verbose mode to see the error message from the API, telling you what fields are missing or invalid.
SUMMARY
hcloud_load_balancer_service fails to be created with health_check when load balancer service does not exist
ISSUE TYPE
COMPONENT NAME
hcloud_load_balancer_service
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Kubuntu 20.04
STEPS TO REPRODUCE
Use the following task:
Run on a project without the load balancer existing
EXPECTED RESULTS
The load balancer being created successful
ACTUAL RESULTS
The error is
If we create the load balancer with no custom health_check before it works: