You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terraform will perform the following actions:
# nutanix_virtual_machine.vm will be updated in-place
~ resource "nutanix_virtual_machine" "vm" {
id = "cec615e1-b5cf-4fb1-a23b-6fcd96bc86f6"
name = "###ADD_YOUR_VALUE###"
# (41 unchanged attributes hidden)
~ disk_list {
# (5 unchanged attributes hidden)
~ storage_config {
# (1 unchanged attribute hidden)
~ storage_container_reference {
name = "SelfServiceContainer"
~ uuid = "4c2b9a49-e07c-48b6-bd05-ca985b441f99" -> "b4206040-5a06-43ed-80a9-88210fb8c2d1"
# (2 unchanged attributes hidden)
}
}
# (1 unchanged block hidden)
}
# (1 unchanged block hidden)
}
Expected Behavior
When using a data_source_reference with image, Terraform should use the correctly specified storage container in the first run, to omit unsupported changes in the second run.
Actual Behavior
When using a data_source_reference with image, Terraform uses a wrong storage container (SelfServiceContainer) in the first run.
Steps to Reproduce
terraform apply -auto-approve
terraform apply to see unplanned changes or check the storage container in the UI from the first run
Important Factors
Use data_source_reference with image and a storage_config with storage_container_reference.
When removing the data_source_reference everything is deployed as specified and the correct storage container is chosen.
The text was updated successfully, but these errors were encountered:
@Philbow, by design, you cannot choose a different storage container when creating a VM from an existing image. You can check this by following the steps through the Prism Central interface.
To understand this better, is your intention to add an additional disk to the virtual machine, or to specify where to store the cloned image disk for that VM?
Nutanix Cluster Information
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Expected Behavior
When using a data_source_reference with image, Terraform should use the correctly specified storage container in the first run, to omit unsupported changes in the second run.
Actual Behavior
When using a data_source_reference with image, Terraform uses a wrong storage container (SelfServiceContainer) in the first run.
Steps to Reproduce
terraform apply -auto-approve
terraform apply
to see unplanned changes or check the storage container in the UI from the first runImportant Factors
The text was updated successfully, but these errors were encountered: