Open jpbuecken opened 4 years ago
Used a self compiled version based on #543.
Please list the resources as a list, for example:
network { type = "org" name = "NETWORK1" ip_allocation_mode = "POOL" }
If you change the network name in the above HCL, and the ip allocation mode is POOL, a terraform plan should show a change for ip:
~ network { adapter_type = "VMXNET3" connected = true ~ ip = "10.70.21.83" -> known after apply ip_allocation_mode = "POOL" is_primary = true mac = "00:50:56:01:00:d4" ~ name = "NETOWRK1" -> "NETWORK2" type = "org" }
terraform plan looks like it will not change:
~ network { adapter_type = "VMXNET3" connected = true ip = "10.70.21.83" ip_allocation_mode = "POOL" is_primary = true mac = "00:50:56:01:00:d4" ~ name = "NETWORK1" -> "NETWORK2" type = "org" }
Let me do some experiments here, but I think this is a limitation of Terraform SDK and what it can do.
FYI: Just tested with terraform 1.9.6 and provider 3.14.0. Issue still exists
Version
Used a self compiled version based on #543.
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Expected Behavior
If you change the network name in the above HCL, and the ip allocation mode is POOL, a terraform plan should show a change for ip:
Actual Behavior
terraform plan looks like it will not change: