Commit 49c8e5f
authored
direct: resolve ${resources.<group>.<key>.<field>} for fields present in the config (#3466)
## Changes
- All resource references now add edge to the graph.
- The references that point to a path in config are resolved based on
the config at plan time.
- New package: structaccess that fetches a given path from struct.
## Tests
- resource_var tests disabled in
#3443 are now passing.
- non existent field test added in
#3481 now shows correct error.
- internal field reference test added in
#3491 now shows correct error in
direct mode.1 parent 0769627 commit 49c8e5f
File tree
22 files changed
+888
-80
lines changed- acceptance/bundle
- bundle_tag/url_ref
- resource_deps
- non_existent_field
- resources_var_presets_implicit_deps
- resources_var_presets
- resources_var
- bundle
- deployplan
- terranova
- libs
- dagrun
- structaccess
22 files changed
+888
-80
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
3 | 7 | | |
4 | 8 | | |
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
3 | 7 | | |
4 | 8 | | |
Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 0 additions & 2 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
| 5 | + | |
This file was deleted.
0 commit comments