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

data source nutanix_virtual_machine fails with "Invalid address to set: []string{"nic_list", "0", "is_connected"}" #57

Closed
chandru-tkc opened this issue May 6, 2019 · 0 comments · Fixed by #60

Comments

@chandru-tkc
Copy link
Contributor

Describe the bug
When trying to read a vm using the data source nutanix_virtual_machine hitting the following error,
2019/05/07 06:45:49 [ERROR] root: eval: *terraform.EvalReadDataApply, err: data.nutanix_virtual_machine.myvm: Invalid address to set: []string{"nic_list", "0", "is_connected"} 2019/05/07 06:45:49 [ERROR] root: eval: *terraform.EvalSequence, err: data.nutanix_virtual_machine.myvm: Invalid address to set: []string{"nic_list", "0", "is_connected"}

Expected behavior
Should be able to read the configuration and details of this attribute

Logs
2019/05/07 06:45:49 [ERROR] root: eval: *terraform.EvalReadDataApply, err: data.nutanix_virtual_machine.myvm: Invalid address to set: []string{"nic_list", "0", "is_connected"} 2019/05/07 06:45:49 [ERROR] root: eval: *terraform.EvalSequence, err: data.nutanix_virtual_machine.myvm: Invalid address to set: []string{"nic_list", "0", "is_connected"}

Versions (please complete the following information):

  • Mac OSX Mojave
  • Terraform version: 0.11.13
  • PE -5.10.1 , PC -5.10.1.1
  • provider.nutanix v1.0.1
chandru-tkc added a commit to chandru-tkc/terraform-provider-nutanix that referenced this issue May 28, 2019
marinsalinas pushed a commit that referenced this issue Jun 12, 2019
yannickstruyf3 pushed a commit to yannickstruyf3/terraform-provider-nutanix that referenced this issue Nov 9, 2021
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

Successfully merging a pull request may close this issue.

1 participant