Skip to content

Instantly share code, notes, and snippets.

@ppanula
Created September 20, 2022 10:13
Show Gist options
  • Save ppanula/5936d08df3126a97c3e4d247cef23ef6 to your computer and use it in GitHub Desktop.
Save ppanula/5936d08df3126a97c3e4d247cef23ef6 to your computer and use it in GitHub Desktop.
[terraform@valvonta5 sofor]$ terraform apply
data.template_file.cloud[0]: Reading...
data.template_file.cloud[0]: Read complete after 0s [id=93f16f0fe108cf1f4b3aeb87c979c329452fe525d30e83e00199f5dd13939877]
data.nutanix_subnet.network: Reading...
data.nutanix_image.image: Reading...
data.nutanix_cluster.cluster: Reading...
data.nutanix_subnet.network: Read complete after 0s [id=1628870a-8a59-4cb3-b407-5abf83f01614]
data.nutanix_image.image: Read complete after 0s [id=184dc18d-ab7f-4181-bfef-1893b004200b]
data.nutanix_cluster.cluster: Read complete after 0s [id=0005b5a4-9dfe-f290-4ecc-3868dd3ff738]
nutanix_virtual_machine.vm[0]: Refreshing state... [id=2f903877-89bc-423b-88f8-cb8724613574]
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# nutanix_virtual_machine.vm[0] will be updated in-place
~ resource "nutanix_virtual_machine" "vm" {
id = "2f903877-89bc-423b-88f8-cb8724613574"
~ memory_size_mib = 2048 -> 4096
name = "TEST-ROCKY-86-CLOUD-TF-1"
~ nutanix_guest_tools = {
- "available_version" = "2.1.5" -> null
- "guest_os_version" = "linux:64:Rocky Linux-8.6" -> null
- "is_reachable" = "true" -> null
- "iso_mount_state" = "UNMOUNTED" -> null
- "version" = "2.1.5" -> null
- "vm_mobility_drivers_installed" = "false" -> null
- "vss_snapshot_capable" = "false" -> null
# (2 unchanged elements hidden)
}
# (35 unchanged attributes hidden)
# (3 unchanged blocks hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
│ Warning: Disabled Providers: foundation. Please provide required fields in provider configuration to enable them. Refer docs.
│ with provider["registry.terraform.io/nutanix/nutanix"],
│ on main.tf line 11, in provider "nutanix":
│ 11: provider "nutanix" {
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
nutanix_virtual_machine.vm[0]: Modifying... [id=2f903877-89bc-423b-88f8-cb8724613574]
│ Warning: Disabled Providers: foundation. Please provide required fields in provider configuration to enable them. Refer docs.
│ with provider["registry.terraform.io/nutanix/nutanix"],
│ on main.tf line 11, in provider "nutanix":
│ 11: provider "nutanix" {
│ Error: internal error: cannot shut down the VM with UUID(2f903877-89bc-423b-88f8-cb8724613574): error updating Virtual Machine UUID(2f903877-89bc-423b-88f8-cb8724613574): error: {
│ "api_version": "3.1",
│ "code": 405,
│ "message_list": [
│ {
│ "message": "Machine type must be set to Q35 for secure boot.",
│ "reason": "ACTION_NOT_SUPPORTED"
│ }
│ ],
│ "state": "ERROR"
│ }
│ with nutanix_virtual_machine.vm[0],
│ on main.tf line 43, in resource "nutanix_virtual_machine" "vm":
│ 43: resource "nutanix_virtual_machine" "vm" {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment