An issue was identified with the ccloud terraform resource ccloud_gslb_monitor_v1. Specifically, a missing property named domain_name, which Andromeda GSLB supports for overriding the Host/SNI domain name (sets the HTTP Host Header to the backend server for HTTP health check) which is used only for HTTP/S monitors. This is required in order to access a custom endpoint.
The following error was produced when attempting to use the domain_name property:
│ Error: Unsupported argument
│
│ on andromeda.tf line 66, in resource "ccloud_gslb_monitor_v1" "andromeda-ccee-monitor":
│ 66: domain_name = "test-custom-domain.com"
│
│ An argument named "domain_name" is not expected here.
╵
An issue was identified with the ccloud terraform resource ccloud_gslb_monitor_v1. Specifically, a missing property named domain_name, which Andromeda GSLB supports for overriding the Host/SNI domain name (sets the HTTP Host Header to the backend server for HTTP health check) which is used only for HTTP/S monitors. This is required in order to access a custom endpoint.
The following error was produced when attempting to use the domain_name property:
Andromeda GSLB documentation where the domain_name property is listed: https://github.com/sapcc/andromeda/blob/main/docs/api.md#-monitor
Terraform Version
Terraform v1.5.7 ccloud v1.6.5
Affected Resource(s)
Expected Behavior
The resource _ccloud_gslb_monitorv1 should create an Andromeda GSLB monitor with domain_name property set.
Actual Behavior
The Andromeda GSLB Terraform resource _ccloud_gslb_monitorv1 is not expecting the domain_name property.
Steps to Reproduce
terraform apply