pulumi/pkg/codegen/hcl2
Pat Gavlin fc00c16e31
[codegen/hcl2] Fix iterator apply rewrites. (#4589)
There are two expressions in HCL2 that are used to iterate over
collections:

- Splat expressions, e.g. `foo.*.bar`, and
- For expressions, e.g. `[for v in foo: v.bar]`

In both of these cases, the parts of the expression that are not the
collection being iterated behave like callbacks, and must be treated as
such by the apply rewriter.
2020-05-07 12:15:40 -07:00
..
model [codegen/*] Improve range type binding + codegen. (#4552) 2020-05-04 15:04:35 -07:00
syntax [codegen/hcl2] Fix template control tokens. (#4584) 2020-05-07 09:12:00 -07:00
binder.go [hcl2] Fix package loading and trivia detection 2020-05-01 11:00:58 -07:00
binder_nodes.go [codegen] Add support for caching package schemas. (#4534) 2020-04-30 13:22:24 -07:00
binder_resource.go [codegen/*] Improve range type binding + codegen. (#4552) 2020-05-04 15:04:35 -07:00
binder_schema.go [hcl2] Fix package loading and trivia detection 2020-05-01 11:00:58 -07:00
binder_test.go [codegen] Add support for caching package schemas. (#4534) 2020-04-30 13:22:24 -07:00
component.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
config.go Codegen: collect imports from function calls. (#4445) 2020-04-21 10:24:42 -07:00
diagnostics.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
functions.go Fix the entries() signature 2020-05-01 13:10:56 -07:00
intrinsics.go [codegen/hcl2] Fix the apply rewriter. (#4486) 2020-04-24 22:04:24 -07:00
invoke.go [codegen] Add support for caching package schemas. (#4534) 2020-04-30 13:22:24 -07:00
local.go Codegen: collect imports from function calls. (#4445) 2020-04-21 10:24:42 -07:00
output.go Codegen: collect imports from function calls. (#4445) 2020-04-21 10:24:42 -07:00
program.go [codegen] Add support for caching package schemas. (#4534) 2020-04-30 13:22:24 -07:00
resource.go Codegen: collect imports from function calls. (#4445) 2020-04-21 10:24:42 -07:00
rewrite_apply.go [codegen/hcl2] Fix iterator apply rewrites. (#4589) 2020-05-07 12:15:40 -07:00
rewrite_apply_test.go [codegen/hcl2] Fix iterator apply rewrites. (#4589) 2020-05-07 12:15:40 -07:00
type.go Various codegen updates. (#4424) 2020-04-16 16:44:34 -07:00
utilities.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00