You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to create a vtm_virtual_server while using ssl_server_cert_host_mapping_json to get data from vtm_virtual_server_server_cert_host_mapping_table
# example
data "vtm_virtual_server_server_cert_host_mapping_table" "application_dmz" {
count = length(var.application_cert_mapping)
host = "hostname"
certificate = "certificate"
}
resource "vtm_virtual_server" "application_dmz" {
name = "Application-DMZ"
enabled = true
listen_on_any = false
listen_on_traffic_ips = [vtm_traffic_ip_group.application_dmz.name]
pool = vtm_pool.ingress.name
protocol = "http"
port = 443
ssl_decrypt = true
ssl_server_cert_host_mapping_json = "[${join(",",data.vtm_virtual_server_server_cert_host_mapping_table.application_dmz.*.json)}]"
}
When doing a terraform apply I am getting the following error:
│ Error: Unsupported argument
│
│ on kubernetes.tf line 95, in resource "vtm_virtual_server" "application_dmz":
│ 95: ssl_server_cert_host_mapping_json = "[${join(",", data.vtm_virtual_server_server_cert_host_mapping_table.application_dmz.*.json)}]"
│
│ An argument named "ssl_server_cert_host_mapping_json" is not expected here.
I'm not sure if the argument ssl_server_cert_host_mapping_json is missing from the resource_virtual_server schema or
is there a problem with the way I am trying to use ssl_server_cert_host_mapping_json ?
Please let me know if you need anymore information
Hi,
I am trying to create a vtm_virtual_server while using
ssl_server_cert_host_mapping_json
to get data fromvtm_virtual_server_server_cert_host_mapping_table
When doing a terraform apply I am getting the following error:
I'm not sure if the argument
ssl_server_cert_host_mapping_json
is missing from the resource_virtual_server schema oris there a problem with the way I am trying to use
ssl_server_cert_host_mapping_json
?Please let me know if you need anymore information
terraform-provider-vtm version: 8.3.1
Virtual Traffic Manager 22.2
The text was updated successfully, but these errors were encountered: