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

Setup your own scalable Kubernetes cluster with the Terraform provider for Hetzner Cloud #1031

Open
anandan06 opened this issue Dec 27, 2024 · 0 comments

Comments

@anandan06
Copy link

Dear Hetzner Cloud Support Team,

I am encountering a critical error while deploying my infrastructure using Terraform with the Hetzner Cloud provider. The error messages indicate an issue with unmarshalling a large number into the Action.action.id field, which seems to be an unexpected data type conversion error.

Error Details:
Error: json: cannot unmarshal number 526193626983170 into Go struct field Action.action.id of type int

│ with hcloud_network_subnet.network-subnet,
│ on main.tf line 20, in resource "hcloud_network_subnet" "network-subnet":
│ 20: resource "hcloud_network_subnet" "network-subnet" {



│ Error: hcloud/inlineAttachServerToNetwork: attach server to network: json: cannot unmarshal number 526193626983187 into Go struct field Action.action.id of type int

│ with hcloud_server.server[0],
│ on main.tf line 47, in resource "hcloud_server" "server":
│ 47: resource "hcloud_server" "server" {


│ Error: hcloud/inlineAttachServerToNetwork: attach server to network: json: cannot unmarshal number 526193626983189 into Go struct field Action.action.id of type int

│ with hcloud_server.agent[2],
│ on main.tf line 68, in resource "hcloud_server" "agent":
│ 68: resource "hcloud_server" "agent" {



│ Error: hcloud/inlineAttachServerToNetwork: attach server to network: json: cannot unmarshal number 526193626983192 into Go struct field Action.action.id of type int

│ with hcloud_server.agent[0],
│ on main.tf line 68, in resource "hcloud_server" "agent":
│ 68: resource "hcloud_server" "agent" {



│ Error: hcloud/inlineAttachServerToNetwork: attach server to network: json: cannot unmarshal number 526193626983191 into Go struct field Action.action.id of type int

│ with hcloud_server.agent[1],
│ on main.tf line 68, in resource "hcloud_server" "agent":
│ 68: resource "hcloud_server" "agent" {

Could you please provide guidance or insights into why this error is occurring, and what additional steps I can take to resolve it?

For more details, please see the attached file containing my error details.

I look forward to your assistance and appreciate your help in resolving this matter.
temp1

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

No branches or pull requests

1 participant