terraform/internal/configs/configschema
Kristin Laemmert 0729e9fdd7
configs/configschema: extend block.AttributeByPath to descend into Objects (#29222)
* configs/configschema: extend block.AttributeByPath to descend into Objects

This commit adds a recursive Object.AttributeByPath function which will step through Attributes with NestedTypes. If an Attribute without a NestedType is encountered while there is still more to the path, it will return nil.
2021-07-22 09:45:33 -04:00
..
coerce_value.go Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
coerce_value_test.go Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
decoder_spec.go configs/configschema: fix missing "computed" attributes from NestedObject's ImpliedType (#29172) 2021-07-15 13:00:07 -04:00
decoder_spec_test.go configs/configschema: fix missing "computed" attributes from NestedObject's ImpliedType (#29172) 2021-07-15 13:00:07 -04:00
doc.go Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
empty_value.go Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
empty_value_test.go Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
implied_type.go configs/configschema: fix missing "computed" attributes from NestedObject's ImpliedType (#29172) 2021-07-15 13:00:07 -04:00
implied_type_test.go configs/configschema: fix missing "computed" attributes from NestedObject's ImpliedType (#29172) 2021-07-15 13:00:07 -04:00
internal_validate.go Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
internal_validate_test.go Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
marks.go update to use typed sensitive marks 2021-06-25 12:49:07 -04:00
marks_test.go update to use typed sensitive marks 2021-06-25 12:49:07 -04:00
nestingmode_string.go Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
none_required.go Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
path.go configs/configschema: extend block.AttributeByPath to descend into Objects (#29222) 2021-07-22 09:45:33 -04:00
path_test.go configs/configschema: extend block.AttributeByPath to descend into Objects (#29222) 2021-07-22 09:45:33 -04:00
schema.go Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
validate_traversal.go Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
validate_traversal_test.go update test error for hclv2.10.1 2021-07-21 09:09:30 -04:00