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: json: cannot unmarshal number 9501614080 into Go struct field CloudProviderSnapshot.storageSizeBytes of type int #1341

Closed
udaykiranete4 opened this issue Jul 23, 2023 · 3 comments
Labels
not_stale Not stale issue or PR

Comments

@udaykiranete4
Copy link

Terraform version: Terraform v1.5.2 on windows_386
MongoDB Atlas provider version : 1.10.2

Your configuration file:
resource "mongodbatlas_cloud_backup_snapshot" "snapshot" { provider = mongodbatlas.source project_id = data.mongodbatlas_project.source_project.id cluster_name = var.source_cluster_name description = var.snap_description retention_in_days = var.retention_in_days }

Processor architecture of the machine used to run the configuration file:
System Type x64-based PC
Processor AMD Ryzen 7 5825U with Radeon Graphics, 2000 Mhz, 8 Core(s), 16 Logical Processor(s)

@github-actions
Copy link
Contributor

Thanks for opening this issue. The ticket INTMDB-959 was created for internal tracking.

@andreaangiolillo andreaangiolillo self-assigned this Jul 24, 2023
@andreaangiolillo
Copy link
Collaborator

Hello 👋 ,

Thanks for opening this issue. The error is related to the fact that you are using windows_386 (32-bit architecture). As per HashiCorp's recommendations for Provider Binary Operating Systems and Architectures, the provider should include the windows_386 binary but not necessarily prioritize fixes for it.

To address this issue, I recommend running the same Terraform configuration on a 64-bit architecture. Meanwhile, we will discuss internally how to prioritize this fix.

Thanks

@andreaangiolillo andreaangiolillo added the not_stale Not stale issue or PR label Aug 2, 2023
@andreaangiolillo andreaangiolillo removed their assignment Aug 9, 2023
@Zuhairahmed
Copy link
Collaborator

hi @udaykiranete4 see latest guidance on Supported OS and Architecture types. Thank you. https://github.com/mongodb/terraform-provider-mongodbatlas/blob/master/README.md#supported-os-and-architectures

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not_stale Not stale issue or PR
Projects
None yet
Development

No branches or pull requests

3 participants