terraform/lang/funcs
Martin Atkins 8c01cf7293 lang/funcs: Fix broken test for lookup function
When the value we're looking in has an object type, we need to know the
key in order to decide the result type. Therefore an object lookup with
an unknown key must produce cty.DynamicVal, not an unknown value with a
known type.
2018-11-06 08:33:49 -08:00
..
testdata lang/funcs: port some of Terraform's built-in functions 2018-10-16 18:48:28 -07:00
cidr.go port compact function 2018-10-16 18:49:20 -07:00
cidr_test.go port cidr functions 2018-10-16 18:49:20 -07:00
collection.go lang/funcs: Permit object types in the "length" function 2018-11-06 08:33:49 -08:00
collection_test.go lang/funcs: Fix broken test for lookup function 2018-11-06 08:33:49 -08:00
crypto.go lang/funcs: never include the private key in error output 2018-10-16 18:50:29 -07:00
crypto_test.go porting crypto functions 2018-10-16 18:49:20 -07:00
datetime.go cleanup comments for nicer godocs 2018-10-16 18:49:20 -07:00
datetime_test.go cleanup comments for nicer godocs 2018-10-16 18:49:20 -07:00
encoding.go base64decode: check that the decoded (not encoded) string is valid UTF-8 2018-10-16 18:49:20 -07:00
encoding_test.go base64decodeFunc now checks for valid UTF-8 2018-10-16 18:49:20 -07:00
filesystem.go lang: Add fileexists function 2018-10-17 10:18:07 +01:00
filesystem_test.go lang: Add fileexists function 2018-10-17 10:18:07 +01:00
number.go porting functions 2018-10-16 18:49:20 -07:00
number_test.go porting functions 2018-10-16 18:49:20 -07:00
string.go lang/funcs: in "sort", don't panic if given a null string 2018-10-16 19:14:11 -07:00
string_test.go porting many functions 2018-10-16 18:49:20 -07:00