terraform-provider-vcd
terraform-provider-vcd copied to clipboard
Case inconsistency in vapp_vm network parameters
Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform Version
Terraform v0.12.7
- provider.vcd v2.4.0
Affected Resource(s)
vapp_vm
Terraform Configuration Files
resource "vcd_vapp" "vapp" {
name = "terraform_vapp01"
}
resource "vcd_vapp_vm" "vm" {
vapp_name = "terraform_vapp01"
name = "terraform_vm01"
catalog_name = "Shared Public"
template_name = "centos-7x"
memory = 2048
cpus = 2
network{
type = "none"
ip_allocation_mode = "NONE"
}
depends_on = ["vcd_vapp.vapp"]
}
Debug Output
Panic Output
Expected Behavior
The required network parameters use case in an inconsistent manor. Type and ip_allocation_mode should be case insensitive, or at least consistent.
Actual Behavior
Type requires all lower case, ip_allocation_mode requires all upper case
Steps to Reproduce
-
terraform apply