-
- Notifications
You must be signed in to change notification settings - Fork 233
Open
Labels
🐛 bugSomething isn't workingSomething isn't workinglifecycle:acknowledgedpriority:P2Medium priorityMedium priority
Description
Describe the bug
With a large storage: multiple petabytes, the provider crashes trying to parse the value from Proxmox.
It's given as an exp number, like 3.47726673451418e+15
To Reproduce
Steps to reproduce the behavior:
- Create a large datastore
- Run 'tofu apply'
- See error
data "proxmox_virtual_environment_datastores" "storage" { node_name = "pve } and the output of terraform|tofu apply.
Error: error retrieving datastores: failed to decode HTTP GET response (path: nodes/pve/storage) - Reason: json: cannot unmarshal number 3.47726673451418e+15 into Go struct field DatastoreListResponseData.data.total of type int Additional context
Add any other context about the problem here.
- Clustered Proxmox
- Proxmox version: 9.x
- Provider version (ideally it should be the latest version): tested with 0.74 and 0.86
- Terraform/OpenTofu version: OpenTofu v1.10.5
- OS (where you run Terraform/OpenTofu from): Ubuntu 22.04
Metadata
Metadata
Assignees
Labels
🐛 bugSomething isn't workingSomething isn't workinglifecycle:acknowledgedpriority:P2Medium priorityMedium priority
Projects
Status
Backlog