terraform/configs
James Bardin 86bf674246 change GetResourceInstance to GetResource
In order to allow lazy evaluation of resource indexes, we can't index
resources immediately via GetResourceInstance. Change the evaluation to
always return whole Resources via GetResource, and index individual
instances during expression evaluation.

This will allow us to always check for invalid index errors rather than
returning an unknown value and ignoring it during apply.
2019-09-19 09:19:14 -04:00
..
configload Standardise directory name for test data 2019-06-30 10:16:15 +02:00
configschema fix Min/Max validation during decoding 2019-08-20 10:13:21 -04:00
configupgrade change GetResourceInstance to GetResource 2019-09-19 09:19:14 -04:00
hcl2shim move hcl2shim package to configs 2019-08-06 19:58:58 -04:00
testdata Remove panic, update comment 2019-07-26 11:22:10 -04:00
backend.go move "configschema" from "config" to "configs" 2018-10-16 18:50:29 -07:00
compat_shim.go configs: Handle object constructor keys when shimming traversals 2018-10-16 18:49:20 -07:00
config.go grammatical updates to comments and docs (#20195) 2019-03-21 14:05:41 -07:00
config_build.go ensure we record diagnostics from nested modules 2019-07-16 19:06:48 -04:00
config_build_test.go ensure we record diagnostics from nested modules 2019-07-16 19:06:48 -04:00
config_test.go Standardise directory name for test data 2019-06-30 10:16:15 +02:00
depends_on.go configs: quoted keywords/references are warnings, not errors 2018-02-15 15:56:39 -08:00
doc.go configs: Additional guidance in doc.go 2018-02-15 15:56:39 -08:00
module.go configs: Allow looking up resources by resource addresses. 2018-10-16 18:46:46 -07:00
module_call.go configs: Reserve various names for future use 2018-11-26 08:25:03 -08:00
module_call_test.go Standardise directory name for test data 2019-06-30 10:16:15 +02:00
module_merge.go configs: Re-unify the ManagedResource and DataResource types 2018-10-16 18:44:26 -07:00
module_merge_body.go configs: Handle "dynamic" blocks as special during override merging 2019-04-16 06:58:45 -07:00
module_merge_test.go Standardise directory name for test data 2019-06-30 10:16:15 +02:00
named_values.go configs: Reserve various names for future use 2018-11-26 08:25:03 -08:00
parser.go command: 0.12upgrade command 2018-10-16 18:50:29 -07:00
parser_config.go configs: allow full type constraints for variables 2018-03-08 16:23:35 -08:00
parser_config_dir.go move IsEmptyDir to configs package 2019-07-18 13:07:10 -04:00
parser_config_dir_test.go move IsEmptyDir to configs package 2019-07-18 13:07:10 -04:00
parser_config_test.go Add support for for_each for data blocks. 2019-07-25 16:59:06 -04:00
parser_test.go configs: Reserve various names for future use 2018-11-26 08:25:03 -08:00
parser_values.go configs: Parser.LoadValuesFile 2018-02-15 15:56:37 -08:00
parser_values_test.go configs: update values file invalid syntax test for new HCL behavior 2018-03-08 11:17:39 -08:00
provider.go configs: Reserve various names for future use 2018-11-26 08:25:03 -08:00
provider_test.go Standardise directory name for test data 2019-06-30 10:16:15 +02:00
provisioner.go configs: Reserve various names for future use 2018-11-26 08:25:03 -08:00
provisioneronfailure_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
provisionerwhen_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
resource.go Add support for for_each for data blocks. 2019-07-25 16:59:06 -04:00
synth_body.go configs: Export MergeBodies and new SynthBody function 2018-10-16 18:24:47 -07:00
synth_body_test.go configs: Export MergeBodies and new SynthBody function 2018-10-16 18:24:47 -07:00
util.go configs: Handle "dynamic" blocks as special during override merging 2019-04-16 06:58:45 -07:00
variable_type_hint.go fix misspelling 2019-03-05 16:12:52 +03:00
variabletypehint_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
version_constraint.go configs: fix panic when the value is missing from version attribute in a provider block 2019-06-21 14:30:17 -04:00