terraform/lang
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
..
blocktoattr Add a comment 2019-08-02 16:15:18 -04:00
funcs lang/funcs: parseint function 2019-09-17 15:33:22 -07:00
testdata/functions-test lang/funcs: Update fileset() function to include path as separate first argument, automatically trim the path argument from results, and ensure results are always canonical with forward slash path separators 2019-08-30 20:19:44 -04:00
data.go change GetResourceInstance to GetResource 2019-09-19 09:19:14 -04:00
data_test.go Resource for_each 2019-07-22 10:51:16 -04:00
doc.go lang: new package for the runtime parts of the config language 2018-10-16 18:44:26 -07:00
eval.go change GetResourceInstance to GetResource 2019-09-19 09:19:14 -04:00
eval_test.go Resource for_each 2019-07-22 10:51:16 -04:00
functions.go lang/funcs: parseint function 2019-09-17 15:33:22 -07:00
functions_test.go lang/funcs: parseint function 2019-09-17 15:33:22 -07:00
references.go lang: Detect references when a list/set attr is defined using blocks 2019-03-28 10:41:01 -07:00
scope.go terraform: ugly huge change to weave in new HCL2-oriented types 2018-10-16 18:46:46 -07:00