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
$ terraform plan -lock=false -target nutanix_virtual_machine.tf-69373009-9823-8102-24d5-983ee575ec85
Error: "power_state": this field cannot be set
on QS7yQkgYpJKtLeERd-server01.example.com.tf line 1, in resource "nutanix_virtual_machine""tf-69373009-9823-8102-24d5-983ee575ec85":
1: resource "nutanix_virtual_machine""tf-69373009-9823-8102-24d5-983ee575ec85" {
Steps to Reproduce
Create a new Server that match my provided template (but without power_state)
Add power_state and run terraform plan -target nutanix_virtual_machine.tf-69373009-9823-8102-24d5-983ee575ec85
Important Factors
We mange several hundreds vms with terraform, so i redacted some information in the debug output.
Nutanix Cluster Information
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/mritzmann/be89f883bd71d3a06877e55c821b51a0
Panic Output
There is no panic output.
Expected Behavior
The running VM should be shut down.
Actual Behavior
Steps to Reproduce
power_state
)power_state
and runterraform plan -target nutanix_virtual_machine.tf-69373009-9823-8102-24d5-983ee575ec85
Important Factors
We mange several hundreds vms with terraform, so i redacted some information in the debug output.
References
Similar Issues, but closed:
The text was updated successfully, but these errors were encountered: