Forum Discussion

JaZy's avatar
JaZy
Icon for Altostratus rankAltostratus
Apr 16, 2025
Solved

Terraform apply failures - loadbalancer_type.https.port_choice

Hi,

 

I just run TF config via Jenkins. I used follow github link with examples - https://github.com/f5devcentral/terraform-f5xc.

 

Connection to F5 XC and deployment of the origin pools works fine but when I tried to create load balancer it fails with error.

 

Error: error creating HttpLoadbalancer: Creating object: Unsuccessful POST at URL .../http_loadbalancers, status code 400, body {"code":3,"details":[{"code":"UNKNOWN","details":"Field spec.loadbalancer_type.https.port_choice fails rule ves.io.schema.rules.message.required_oneof constraint true due to value \u003cnil\u003e","timestamp":"2025-04-16T13:26:34Z"}],"message":"Field spec.loadbalancer_type.https.port_choice should be not nil, got nil in request."}

 

Where I can check what properties are mandatory to properly execute TF apply?

 

Thank you.

 

Best Regards,

Jozef

2 Replies