pulse-vadc / terraform-provider-vtm

A terraform provider from the Pulse Secure virtual Traffic Manager
Mozilla Public License 2.0
9 stars 12 forks source link

Spaces in certificate name crashes Terraform #22

Open racingferret opened 4 years ago

racingferret commented 4 years ago

When creating a vtm_ssl_server_key resource using the VTM provider, if there is a space in the name of the SSL certificate, Terraform crashes. For example:

resource "vtm_ssl_server_key" "ssl_cert" {
  name    = "My SSL Certificate"
  ...
}

However, the certificate name accepts spaces when created or modified through the VTM web UI. Removing the spaces in the name allows the resource to be created without error.

$ terraform -version Terraform v0.12.16 provider.vtm v6.2.1

An output of the crash can be found below. terraform_crash.txt