terraform/configs/configupgrade/test-fixtures/valid/funcs-replaced/want
Martin Atkins 48f1245e6b configs/configupgrade: Replace lookup(...) with index syntax
If lookup is being used with only two arguments then it is equivalent to
index syntax and more readable that way, so we'll replace it.

Ideally we'd do similarly for element(...) here but sadly we cannot
because we can't prove in static analysis that the user is not relying
on the modulo wraparound behavior of that function.
2018-12-04 11:37:39 -08:00
..
funcs-replaced.tf configs/configupgrade: Replace lookup(...) with index syntax 2018-12-04 11:37:39 -08:00
versions.tf configs/configupgrade: Replace calls to list() and map() 2018-12-04 11:37:39 -08:00