Skip to content
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

Error message missing #649

Open
Golgautier opened this issue Nov 20, 2023 · 0 comments
Open

Error message missing #649

Golgautier opened this issue Nov 20, 2023 · 0 comments
Labels

Comments

@Golgautier
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants