terraform/website
Martin Atkins c94f8f9067 website: Document division behavior change in v0.12 upgrade guide
The division operator now always performs floating point division, whereas
before it would choose between float and int division based on the types
of its arguments.

We have a specific error message for when a fractional number is used as
an index in HCL, but this additional upgrade guidance provides a specific
solution to the problem: the floor function.

Sadly we don't have enough context in the current design of the upgrade
tool to make this fix automatic. With some refactoring it may be possible
to apply the fix automatically within list brackets, but since that is
a relatively complex change we'll first try this manual solution prompted
by an error message, because in practice so far we've seen this reported
only in the context of list indexing and our error check will catch that
and make the user aware of the need for a fix there.
2019-04-16 10:03:37 -07:00
..
docs website: null_resource isn't a type of provisioner 2019-04-15 14:11:02 -07:00
guides website: Reorganize nav sidebars to improve jumps between sections 2019-01-31 16:18:23 -08:00
intro website: adding examples of complex variables on the command line (#20871) 2019-04-01 07:51:17 -04:00
layouts website: null_resource isn't a type of provisioner 2019-04-15 14:11:02 -07:00
upgrade-guides website: Document division behavior change in v0.12 upgrade guide 2019-04-16 10:03:37 -07:00
README.md website: A note about where the root parts of the website live now 2017-06-27 14:40:13 -07:00

README.md

Terraform Documentation

This directory contains the portions of the Terraform website that pertain to the core functionality, excluding providers and the overall configuration.

The files in this directory are intended to be used in conjunction with the terraform-website repository, which brings all of the different documentation sources together and contains the scripts for testing and building the site as a whole.