terraform/website/layouts
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
..
backend-types.erb Implement the Enterprise enhanced remote backend 2018-08-03 22:22:55 +02:00
commands-state.erb website: new filesystem layout for core/provider split 2017-06-13 11:25:32 -07:00
commands-workspace.erb fix broken/old link in Commands/Workspace 2017-08-01 17:49:32 -05:00
docs.erb website: Structural edit of configuration language docs 2018-12-20 14:20:42 -08:00
downloads.erb add 0.12 guide 2018-06-25 17:26:45 -07:00
functions.erb lang/funcs: Type conversion functions 2019-01-17 10:01:47 -08:00
guides.erb website: Finish moving "writing custom providers" to /docs/extend/ 2019-01-11 16:36:40 -08:00
intro.erb website: new filesystem layout for core/provider split 2017-06-13 11:25:32 -07:00
registry.erb Add back Support page with info about getting help. 2017-09-15 22:59:03 +01:00
terraform.erb provider/terraform: reorganize for merge into core 2017-11-02 10:46:31 -07:00