-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Convert int to int64 when building the cluster.NodeConfig struct #2978
Conversation
👍 looks plausible to me. There's a similar thing going on in the AWS EBS code where the disk sizes are set. I eagerly await the day when someone wants to create a 4.3 exabyte disk and Terraform fails to represent it correctly due to its use of a paltry 32-bit integer. 😀 |
@djworth Thanks for noticing and sending the PR! Would you mind attaching a test or modify an existing test, so it's covering this bug? @apparentlymart I didn't know about EBS, but I know there's the same bug in |
@radeksimko Sure thing! |
I fixed the other one, I'll leave this one to you lot :) |
@apparentlymart Can you explain further what the problem is with EBS volumes? I just checked that resource and all terraform/builtin/providers/aws/resource_aws_ebs_volume.go Lines 73 to 81 in dcebff7
|
@radeksimko sorry I wasn't meaning to say that there is an issue there now, but more that the issue had existed historically and we did the same workaround. So my comment was more "this seems like a reasonable solution because it's how we already solved EBS volumes", not "this also needs to be done for EBS volumes". I apologize for not being clearer. |
Merging, I will add the test in a separate commit. |
Convert int to int64 when building the cluster.NodeConfig struct
Done in 53499a9 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
related to issue #2901