-
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
Number suffixes as described in docs result in syntax error #3247
Comments
Oh wow... I never noticed that in the docs before, nor have I ever seen it in the code. Out of curiosity I also tried quoting the string in case it was the Terraform layer that was supposed to be handling it, rather than the HCL layer. No dice there either:
This would be a rather strange feature anyway, since the quantities on many resources are already expressed in mega-somethings or giga-somethings. For example, I was experimenting with an EBS volume size here, meaning that in my above example I asked for a volume of "one giga-gigabyte". Feels like even if this feature is somehow supported somewhere it's gonna be confusing when used in conjunction with attributes that already have implied exponents, so maybe better that it doesn't work... |
I was caught by this today too.
and it looks like the main discussion is in #3287. |
Thanks for the report - this is definitely confusing! I wonder if it worked at one point or if these are "aspirational docs" we have found. ;) Either way, closing to keep things consolidated in #3287. |
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. |
The Terraform docs state that:
However,
terraform plan
gives a syntax error when I attempt to use a suffixed number:Tested on Terraform 0.6.3.
The text was updated successfully, but these errors were encountered: