opentofu/config
Mitchell Hashimoto 8a3559560d
config: JSON resource keys with only one item load properly GH-5140
When a resource has only a single key set, the HCL parser treats that
key as part of the overall set of object keys. This isn't valid since
we expect resources to have exactly two keys. In this scenario, we have
to "unwrap" the keys back into a set of objects.
2016-08-25 17:18:18 -07:00
..
module build: Opt-in to building rather than opt-out 2016-07-29 18:40:31 -05:00
test-fixtures config: JSON resource keys with only one item load properly GH-5140 2016-08-25 17:18:18 -07:00
append_test.go removed extra parentheses 2015-10-08 15:48:04 +03:00
append.go config: allow atlas block 2015-03-24 13:30:22 -07:00
config_string.go config: "ResourceMode" concept for resources 2016-05-14 08:26:35 -07:00
config_test.go config: count can't be a SimpleVariable 2016-08-16 13:48:12 -07:00
config_tree.go config: make Merge an exported func 2014-07-18 17:05:22 -07:00
config.go config: count can't be a SimpleVariable 2016-08-16 13:48:12 -07:00
import_tree.go Condense switch fallthroughs into expr lists 2015-05-26 21:52:36 -04:00
interpolate_funcs_test.go Add merge interpolation function 2016-08-01 18:30:58 -04:00
interpolate_funcs.go Add merge interpolation function 2016-08-01 18:30:58 -04:00
interpolate_test.go core: Better error for dot indexing on user vars 2016-06-12 10:45:48 -05:00
interpolate_walk_test.go core: support native list variables in config 2016-05-10 14:49:14 -04:00
interpolate_walk.go core: Fix slice element keys on interpolateWalk 2016-07-08 16:43:42 +01:00
interpolate.go core: Better error for dot indexing on user vars 2016-06-12 10:45:48 -05:00
lang.go remove config/lang, use hashicorp/hil 2016-02-03 13:24:04 -05:00
loader_hcl_test.go config: HCL loader 2014-08-11 09:58:53 -07:00
loader_hcl.go config: JSON resource keys with only one item load properly GH-5140 2016-08-25 17:18:18 -07:00
loader_test.go config: JSON resource keys with only one item load properly GH-5140 2016-08-25 17:18:18 -07:00
loader.go config: new HCL API 2015-11-07 16:53:42 -08:00
merge_test.go removed extra parentheses 2015-10-08 15:48:04 +03:00
merge.go config: allow atlas block 2015-03-24 13:30:22 -07:00
raw_config_test.go remove config/lang, use hashicorp/hil 2016-02-03 13:24:04 -05:00
raw_config.go Make all terraform package tests pass under -race 2016-07-29 16:12:21 -04:00
resource_mode_string.go config: "ResourceMode" concept for resources 2016-05-14 08:26:35 -07:00
resource_mode.go config: "ResourceMode" concept for resources 2016-05-14 08:26:35 -07:00