please use a service like Dropbox and share a link to the ZIP file.
### Debug Output
<!---
Please provide a link to a GitHub Gist containing the complete debug output. Please do NOT paste the debug output in the issue; just paste a link to the Gist.
To obtain the debug output, see the [Terraform documentation on debugging](https://www.terraform.io/docs/internals/debugging.html).
--->
### Panic Output
<!--- If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the `crash.log`. --->
### Expected Behavior
<!--- What should have happened? ---> VM must have ben created
### Actual Behavior
<!--- What actually happened? ---> VM creation failed
### Steps to Reproduce
<!--- Please list the steps required to reproduce the issue. ---> try creating VM with a container specified with its UUID
1. `terraform apply`
### Important Factors
<!--- Are there anything atypical about your accounts that we should know?
For example if you are using a Prism Element or Prism Central -- >
### References
<!---
Information about referencing Github Issues: https://help.github.com/articles/basic-writing-and-formatting-syntax/#referencing-issues-and-pull-requests
Are there any other GitHub issues (open or closed) or pull requests that should be linked here? Vendor documentation? For example:
--->
* #0000 <!---Github Issue number --->
Hi, i have a similar issue the terraform provider only creates the vm on "SelfServiceContainer" even if i specify another storage_container. Should i create another issue ?
Nutanix Cluster Information
Terraform Version v1.2.3
Affected Resource(s)
VM not created if vdisk target is to be in a custom container ( non-default)
Terraform Configuration Files
data "nutanix_cluster" "cluster" { name = var.cluster_name } data "nutanix_subnet" "subnet" {
subnet_name = var.subnet_name
subnet_id = var.subnet_uuid }
provider "nutanix" { username = var.user password = var.password endpoint = var.endpoint insecure = true session_auth = false wait_timeout = 60 port = var.https_port }
resource "nutanix_image" "image" {
name = "Arch Linux"
description = "Arch-Linux-x86_64-basic-20210401.18564"
source_uri = "https://mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-basic-20210415.20050.qcow2"
}
resource "nutanix_virtual_machine" "testvm1" { name = "testvm1" cluster_uuid = var.cluster_uuid num_vcpus_per_socket = "2" num_sockets = "1" memory_size_mib = 1024
disk_list {
}
disk_list { storage_config { storage_container_reference { kind = "storage_container" uuid = var.storage_container_uuid } } }
disk_list {
disk_size_bytes = 10 1024 1024 * 1024
disk_size_mib = 1024000
device_properties {
device_type = "DISK"
disk_address = {
"adapter_type" = "SCSI"
"device_index" = "1"
}
}
}
nic_list { subnet_uuid = var.subnet_uuid } }
please use a service like Dropbox and share a link to the ZIP file.