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

vss_snapshot_capable attribute doesn't work #171

Closed
arogic opened this issue Oct 13, 2020 · 1 comment
Closed

vss_snapshot_capable attribute doesn't work #171

arogic opened this issue Oct 13, 2020 · 1 comment

Comments

@arogic
Copy link

arogic commented Oct 13, 2020

Hi,

the attribute "vss_snapshot_capable" under "nutanix_guest_tools" doesn't get considered, because the VSS Snapshot Feature doesn't get enabled after I create the VM using the following terraform config file.

Nutanix Cluster Information

Terraform Version

Terraform v0.13.2

Affected Resource(s)

resource nutanix_virtual_machine

Terraform Configuration Files

resource "nutanix_virtual_machine" "vm" {
  name                                     = var.vm_name
  cluster_uuid                             = data.nutanix_cluster.cluster.id
  num_vcpus_per_socket                     = var.num_vcpus_per_socket
  num_sockets                              = var.num_sockets
  memory_size_mib                          = var.memory_size_mib
  hardware_clock_timezone                  = var.hardware_clock_timezone
  guest_customization_cloud_init_user_data = base64encode(local.template)

  nic_list {
    nic_type    = "NORMAL_NIC"
    subnet_uuid = data.nutanix_subnet.subnet.id
    subnet_name = var.subnet_name
  }

  disk_list {
    data_source_reference = {
      kind = "image"
      uuid = data.nutanix_image.image.id
    }

    device_properties {
      disk_address = {
        device_index = 0
        adapter_type = "SCSI"
      }
      device_type = "DISK"
    }
    disk_size_mib = var.disk_size_mib
  }

  nutanix_guest_tools = {
    state                = "ENABLED"
    vss_snapshot_capable = "ENABLED"
  }
}
```​
### References
https://www.terraform.io/docs/providers/nutanix/r/virtual_machine.html#vss_snapshot_capable

Regards
@arogic
Copy link
Author

arogic commented Oct 28, 2020

According to Nutanix Support enabling Volume Snapshot Service through the Nutanix REST API is currently not supported. Therefore closing this Issue.

@arogic arogic closed this as completed Oct 28, 2020
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

1 participant