terraform/website/docs
Martin Atkins 2f8f7d6f4d lang/funcs: Type conversion functions
It's not normally necessary to make explicit type conversions in Terraform
because the language implicitly converts as necessary, but explicit
conversions are useful in a few specialized cases:

- When defining output values for a reusable module, it may be desirable
  to force a "cleaner" output type than would naturally arise from a
  computation, such as forcing a string containing digits into a number.
- Our 0.12upgrade mechanism will use some of these to replace use of the
  undocumented, hidden type conversion functions in HIL, and force
  particular type interpretations in some tricky cases.
- We've found that type conversion functions can be useful as _temporary_
  workarounds for bugs in Terraform and in providers where implicit type
  conversion isn't working correctly or a type constraint isn't specified
  precisely enough for the automatic conversion behavior.

These all follow the same convention of being named "to" followed by a
short type name. Since we've had a long-standing convention of running all
the words together in lowercase in function names, we stick to that here
even though some of these names are quite strange, because these should
be rarely-used functions anyway.
2019-01-17 10:01:47 -08:00
..
backends backend/remote: use the correct test operation 2019-01-15 16:13:16 +01:00
commands command/json*: updating documentation and adding tests (#19944) 2019-01-09 08:59:11 -08:00
configuration lang/funcs: Type conversion functions 2019-01-17 10:01:47 -08:00
import docs/import: Remove out of date listing of importable resources and note where to find the information 2018-02-14 12:02:45 -05:00
internals website: Add docs/internals/archiving.html to describe the archiving process. (#18831) 2018-09-10 17:32:43 -07:00
modules Remove support for the -module-depth flag 2018-11-02 18:44:04 +01:00
plugins website: Finish moving "writing custom providers" to /docs/extend/ 2019-01-11 16:36:40 -08:00
providers Merge branch 'master' into cgriggs01-comm-5 2019-01-09 14:31:47 -08:00
provisioners website: Fix references to the now-defunct "Interpolation" page 2018-10-16 18:48:28 -07:00
registry website: fix curl example for registry API 2018-07-25 09:11:54 -07:00
state website: Fix redundant "be" in workspaces documentation 2018-11-28 07:59:37 -08:00
index.html.markdown provider/terraform: reorganize for merge into core 2017-11-02 10:46:31 -07:00