-
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
Error: The terraform-provider-nutanix_v1.9.5.exe plugin crashed! #689
Comments
Hi @honestabe00 This isn't a provider issue, it's related to the Terraform SDK. It often happens when users accidentally install the 32-bit version of Terraform, which can still run on 64-bit systems. Integer Limitations:On 32-bit systems, the maximum signed integer is 2,147,483,647 (2³¹ - 1). If you use a value larger than this, like 10,737,418,240 (10¹⁰, ~10 GB), it exceeds the limit. This triggers a The 64-bit version, however, can handle integers up to 9,223,372,036,854,775,807 (2⁶³ - 1), which is why the error doesn't appear when using it. Solution:Install the 64-bit version of Terraform to resolve this issue. For example, if you check your Terraform version and see: Terraform v1.9.5
on windows_386 You're using the 32-bit version. After downloading the 64-bit version, the output should look like this: Terraform v1.9.5
on windows_amd64 This will fix the integer limit problem. |
Thanks. I will look and verify the version.
From: Haroon Dweikat Ntx ***@***.***>
Sent: Tuesday, October 1, 2024 6:54 AM
To: nutanix/terraform-provider-nutanix ***@***.***>
Cc: Knapp, Matthew ***@***.***>; Mention ***@***.***>
Subject: Re: [nutanix/terraform-provider-nutanix] Error: The terraform-provider-nutanix_v1.9.5.exe plugin crashed! (Issue #689)
Hi @honestabe00<https://github.com/honestabe00>
This isn't a provider issue, it's related to the Terraform SDK. It often happens when users accidentally install the 32-bit version of Terraform, which can still run on 64-bit systems.
Integer Limitations:
On 32-bit systems, the maximum signed integer is 2,147,483,647 (2³¹ - 1). If you use a value larger than this, like 10,737,418,240 (10¹⁰, ~10 GB), it exceeds the limit. This triggers a strconv.ParseInt error, throwing "value out of range."
The 64-bit version, however, can handle integers up to 9,223,372,036,854,775,807 (2⁶³ - 1), which is why the error doesn't appear when using it.
Solution:
Install the 64-bit version of Terraform to resolve this issue.
For example, if you check your Terraform version and see:
Terraform v1.9.5
on windows_386
You're using the 32-bit version. After downloading the 64-bit version, the output should look like this:
Terraform v1.9.5
on windows_amd64
This will fix the integer limit problem.
—
Reply to this email directly, view it on GitHub<#689 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BLMV7IPC7MKYUUDL2C7VNZLZZKEONAVCNFSM6AAAAABOQOHFSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBVGU3TOMRZHA>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
Nutanix Cluster Information
Terraform Version
Terraform v1.9.5
on windows_386
Affected Resource(s)
with nutanix_virtual_machine.mktest,
│ on main.tf line 31, in resource "nutanix_virtual_machine" "mktest":
│ 31: resource "nutanix_virtual_machine" "mktest" {
Terraform Configuration Files
The text was updated successfully, but these errors were encountered: