-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
large numbers rendered incorrectly in plan output #34686
Comments
Thanks for filing the issue @heldersepu! I don't think this is actually a problem with
Note that |
Also checked that the plan has stored the correct |
100% not just the distinct I got the same just outputting the list: locals {
ids = [
9223372036854773256,
9223372036854773263,
9223372036854773263,
9223372036854773266
]
}
output "ids" {
value = local.ids
}
output "sorted" {
value = sort(local.ids)
}
|
... and yes the |
This happens when we read the changes back from the Essentially, the numbers are bigger than 2^63, and the The fix is relatively simple, we just need to tell the |
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. |
Terraform Version
Terraform Configuration Files
Debug Output
Expected Behavior
the distinct function should output full values just like sort does
Actual Behavior
distinct is rounding the values to
9223372036854774000
Steps to Reproduce
just do a TF plan on the sample provided
The text was updated successfully, but these errors were encountered: