Open e-r-holt opened 1 week ago
I also tried storing the value in a var-file, since this issue seems similar, and somebody there suggested var-file values would be a good workaround.
I was not successful with that solution
How neat! I've proven this doesn't happen when you use tofu directly, but it still happens when you store the value in a tofu local.
me@workstation:~/src/test$ tofu plan
var.some_number
Enter a value: 114229903950591386351
Changes to Outputs:
+ that_number = 114229903950591386351
You can apply this plan to save these new output values to the OpenTofu state, without changing any real infrastructure.
Describe the bug
Numbers reaching into 17~19 digits get changed by terragrunt before making it to terraform for planning
Steps To Reproduce
output "that_number" { value = var.some_number }
Expected behavior
The number is passed to tofu unchanged, and output should match input
Nice to haves
Versions
Additional context
Numbers of this size need to be passed between modules as dependencies for ID references. An example, unique_id's of GCP service accounts.