Closed
Description
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
Metadata
Assignees
Labels
No labels