Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

power_state trigger a syntax error. #94

Closed
jehutyy opened this issue Jan 30, 2020 · 2 comments
Closed

power_state trigger a syntax error. #94

jehutyy opened this issue Jan 30, 2020 · 2 comments

Comments

@jehutyy
Copy link

jehutyy commented Jan 30, 2020

Bug
It seems that power_state = "OFF" trigger this error during terraform plan -out plan:

Error: "power_state": this field cannot be set

  on foo.tf line 28, in resource "nutanix_virtual_machine" "foo_vm":
  28: resource "nutanix_virtual_machine" "foo_vm" {

Expected behavior
As I understand the provider reference, it should spawn vm in OFF/ON state.

Versions
I'm running a suse 15 sp1 with terraform 0.12.20. The nutanix provider comes from terraform init, it is v1.0.2_x4.

Beside power_state, I have no problem to create vms though.

@RagingPuppies
Copy link

Terraform v0.12.20

  • provider.nutanix v1.0.2

Error: "power_state": this field cannot be set

same here.

@marinsalinas
Copy link
Contributor

This is related to #99 , see my comments in there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants