nutanix/terraform-provider-nutanix

Error message missing

Golgautier opened this issue · 0 comments

When I try to deploy a new VM with insufficient disk size, warning message is not displayed with plugin 1.9.4, it works well with 1.3.0

1.3.0 output

nutanix_virtual_machine.machine: Creating...
╷
│ Error: error: {
│   "api_version": "3.1",
│   "code": 400,
│   "message_list": [
│     {
│       "message": "Requested image size 53183774720 is less than actual size 53687091200",
│       "reason": "INVALID_ARGUMENT"
│     }
│   ],
│   "state": "ERROR"
│ }
│
│   with nutanix_virtual_machine.machine,
│   on main.tf line 13, in resource "nutanix_virtual_machine" "machine":
│   13: resource "nutanix_virtual_machine" "machine" {
│
╵

1.9.4 output

nutanix_virtual_machine.machine: Creating...
╷
│ Warning: Disabled Providers: foundation, ndb. Please provide required fields in provider configuration to enable them. Refer docs.
│
│   with provider["registry.terraform.io/nutanix/nutanix"],
│   on provider.tf line 1, in provider "nutanix":
│    1: provider "nutanix" {
│
╵
╷
│ Error: bad Request
│
│   with nutanix_virtual_machine.machine,
│   on main.tf line 13, in resource "nutanix_virtual_machine" "machine":
│   13: resource "nutanix_virtual_machine" "machine" {
│
╵

Nutanix Cluster Information

Please provide the version of:

  • Nutanix Cluster (Prism Element / AOS) : 6.7
  • Nutanix Prism Central : PC.2023.3

Terraform Version

1.9.4