terraform/website/docs
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
..
backends website: Update all Learn crosslinks (#26442) 2020-10-02 11:02:59 -07:00
commands website: Initial docs for the new dependency lock file behaviors 2020-10-09 09:26:23 -07:00
configuration configs: Experimental support for optional object type attributes 2020-10-12 10:12:28 -07:00
configuration-0-11 website: Remove links to the getting started guide's old location 2020-03-18 14:20:03 -07:00
import website: Update all Learn crosslinks (#26442) 2020-10-02 11:02:59 -07:00
internals website: Credentials helper response for no creds 2020-09-15 09:00:44 -04:00
modules website: Update all Learn crosslinks (#26442) 2020-10-02 11:02:59 -07:00
plugins website: Update all Learn crosslinks (#26442) 2020-10-02 11:02:59 -07:00
providers website: fix a broken community provider link 2020-08-31 17:02:57 -07:00
provisioners website: Update all Learn crosslinks (#26442) 2020-10-02 11:02:59 -07:00
registry website: Update all Learn crosslinks (#26442) 2020-10-02 11:02:59 -07:00
state website: Add Google and Microsoft products to the summary for supported remote backends (#26204) 2020-09-10 17:07:46 -03:00
cli-index.html.md website: Update all Learn crosslinks (#26442) 2020-10-02 11:02:59 -07:00