When i create a vm with a NIC, the provider will crash when the user only supply an list with an empty string.
The resource will be created when:
local.vm_ip is a ip_address
null
But the provider will crash if the user provides only an emtpy string for example aka
locals {
vm_ip = ""
}
Expected behavior
When IPs is a List with an empty the string, the VM should be created without a specified ip or the provider should throw an error in the terraform plan phase.
Description
When i create a vm with a NIC, the provider will crash when the user only supply an list with an empty string.
The resource will be created when:
But the provider will crash if the user provides only an emtpy string for example aka
Expected behavior
When IPs is a List with an empty the string, the VM should be created without a specified ip or the provider should throw an error in the
terraform plan
phase.Environment
Terraform version:
Provider version:
OS:
Configuration Files
How to Reproduce
Error and Debug Output