terraform/configs/configschema
Kristin Laemmert 2b4e389839
Mildwonkey/nested type format (#27793)
* command/format: check for sensitive NestedTypes

Eventually, the diff formatter will need to be updated to properly
handle NestedTypes, but for now we can let the existing function deal
with them as regular cty.Object-type attributes.

To avoid printing sensitive nested attributes, we will treat any
attribute with at least one sensitive nested attribute as an entirely
sensitive attribute.

* bugfix for Object ImpliedType()

ImpliedType() was returning too early when the given object had optional
attributes, therefore skipping the incredibly important step of
accounting for the nesting mode when returning said type.
2021-02-18 08:48:52 -05:00
..
coerce_value.go do not validate Min/Max Items in CoerceValue 2019-08-20 10:13:15 -04:00
coerce_value_test.go do not validate Min/Max Items in CoerceValue 2019-08-20 10:13:15 -04:00
decoder_spec.go configschema: fix various issues with NestedTypes 2021-02-12 13:34:25 -05:00
decoder_spec_test.go configschema: fix various issues with NestedTypes 2021-02-12 13:34:25 -05:00
doc.go move "configschema" from "config" to "configs" 2018-10-16 18:50:29 -07:00
empty_value.go configschema: fix various issues with NestedTypes 2021-02-12 13:34:25 -05:00
empty_value_test.go configschema: fix various issues with NestedTypes 2021-02-12 13:34:25 -05:00
implied_type.go Mildwonkey/nested type format (#27793) 2021-02-18 08:48:52 -05:00
implied_type_test.go Mildwonkey/nested type format (#27793) 2021-02-18 08:48:52 -05:00
internal_validate.go configs/configschema: staticcheck 2020-12-02 13:59:19 -05:00
internal_validate_test.go plans/objchange: logic for merging prior state with config 2018-10-16 19:11:09 -07:00
nestingmode_string.go configs/configschema: Introduce the NestingGroup mode for blocks 2019-04-10 14:53:52 -07:00
none_required.go move "configschema" from "config" to "configs" 2018-10-16 18:50:29 -07:00
path.go Block.AttribuuteByPath 2021-01-12 16:31:18 -05:00
path_test.go Block.AttribuuteByPath 2021-01-12 16:31:18 -05:00
schema.go configs/configschema: add new NestedType to attribute 2021-02-05 13:34:55 -05:00
validate_traversal.go didyoumean: move from "helper" to "internal" 2020-10-02 13:35:07 -07:00
validate_traversal_test.go vendor: switch to HCL 2.0 in the HCL repository 2019-10-02 15:10:21 -07:00