terraform/website/docs/configuration
Martin Atkins 0bbbb9c64b configs: Experimental support for optional object type attributes
This builds on an experimental feature in the underlying cty library which
allows marking specific attribtues of an object type constraint as
optional, which in turn modifies how the cty conversion package handles
missing attributes in a source value: it will silently substitute a null
value of the appropriate type rather than returning an error.

In order to implement the experiment this commit temporarily forks the
HCL typeexpr extension package into a local internal/typeexpr package,
where I've extended the type constraint syntax to allow annotating object
type attributes as being optional using the HCL function call syntax.
If the experiment is successful -- both at the Terraform layer and in
the underlying cty library -- we'll likely send these modifications to
upstream HCL so that other HCL-based languages can potentially benefit
from this new capability.

Because it's experimental, the optional attribute modifier is allowed only
with an explicit opt-in to the module_variable_optional_attrs experiment.
2020-10-12 10:12:28 -07:00
..
functions Merge pull request #26314 from hashicorp/remove-template-provider-link 2020-09-30 17:57:02 -04:00
attr-as-blocks.html.md Minor spelling fixes 2019-06-13 15:36:14 +01:00
backend.html.md website: Configuration Language navigation refactoring 2020-06-18 09:31:52 -07:00
data-sources.html.md website: Adding a note around data-sources and depends_on for 0.12 users (#26222) 2020-09-11 15:16:05 -03:00
dependency-lock.html.md website: Initial docs for the new dependency lock file behaviors 2020-10-09 09:26:23 -07:00
expressions.html.md Correct annotation in expressions.html 2020-08-14 16:33:54 -04:00
functions.html.md website: Version notes: Add new -> old links to 0.12 language docs (except function pages) 2019-02-01 17:20:54 -08:00
index.html.md website: Update all Learn crosslinks (#26442) 2020-10-02 11:02:59 -07:00
locals.html.md website: Clarify `locals` vs. `local.thing` distinction 2020-09-02 14:31:19 -07:00
modules.html.md website: Update all Learn crosslinks (#26442) 2020-10-02 11:02:59 -07:00
outputs.html.md Update docs for output sensitivity change 2020-10-06 14:26:16 -04:00
override.html.md website: Version notes: Add new -> old links to 0.12 language docs (except function pages) 2019-02-01 17:20:54 -08:00
provider-requirements.html.md website: Initial docs for the new dependency lock file behaviors 2020-10-09 09:26:23 -07:00
providers.html.md configs: deprecate version argument inside provider configuration blocks (#26135) 2020-09-08 08:19:00 -04:00
resources.html.md [Documentation] Typo fixes 2020-10-05 10:10:38 -06:00
style.html.md website: Version notes: Add new -> old links to 0.12 language docs (except function pages) 2019-02-01 17:20:54 -08:00
syntax-json.html.md website/docs: provider aliases in the JSON format 2020-05-13 15:52:26 +02:00
syntax.html.md Fix link in syntax docs 2019-10-24 11:57:08 -04:00
terraform-enterprise.html.md Remove links to legacy Terraform Enterprise docs 2019-06-07 13:47:12 -04:00
terraform.html.md Website: 0.13 docs edits, mostly around provider requirements (#25686) 2020-07-30 21:07:36 -07:00
types.html.md configs: Experimental support for optional object type attributes 2020-10-12 10:12:28 -07:00
variables.html.md Add sensitive variable docs for nested blocks 2020-10-05 17:23:49 -04:00
version-constraints.html.md website: Configuration Language navigation refactoring 2020-06-18 09:31:52 -07:00