-
Notifications
You must be signed in to change notification settings - Fork 112
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
Provider prevents disk resizing at VM creation time #130
Comments
I had a look at the code and simply commenting https://github.com/terraform-providers/terraform-provider-nutanix/blob/4406e9e4a476604a9b8d6693cd3162eab0b0ea89/nutanix/resource_nutanix_virtual_machine.go#L1716 so |
yannickstruyf3
added a commit
to yannickstruyf3/terraform-provider-nutanix
that referenced
this issue
Nov 9, 2021
…disk_size_bytes are mutually exclusive.
yannickstruyf3
pushed a commit
to yannickstruyf3/terraform-provider-nutanix
that referenced
this issue
Nov 9, 2021
fix nutanix#130: Resize disk on clone
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nutanix Cluster Information
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
VM should be created with disk image cloned as first disk and size increased to match spec.
Actual Behavior
Steps to Reproduce
terraform apply
Important Factors
Nutanix API v3 allows disk resizing at VM creation time. The following spec has been confirmed to work correctly when POSTed to
/api/nutanix/v3/vms
:The 5GB disk image is increased to 20GB when cloned.
References
The text was updated successfully, but these errors were encountered: