diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-03-11 22:21:16 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-03-11 22:21:16 +0100 |
commit | 18cb21ff2e4a60e7094908e4d6113a9d5a086316 (patch) | |
tree | 9063cfba393acfd36c0dd78359986b6085dafc61 /resources | |
parent | df298558a5a5b747288d9656402af85e0ac75a43 (diff) |
resources: Add data context to the key in ExecuteAsTemplate
Fixes #7046
Diffstat (limited to 'resources')
-rw-r--r-- | resources/resource_transformers/templates/execute_as_template.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/resource_transformers/templates/execute_as_template.go b/resources/resource_transformers/templates/execute_as_template.go index 115b3d047..d6015c17e 100644 --- a/resources/resource_transformers/templates/execute_as_template.go +++ b/resources/resource_transformers/templates/execute_as_template.go @@ -48,7 +48,7 @@ type executeAsTemplateTransform struct { } func (t *executeAsTemplateTransform) Key() internal.ResourceTransformationKey { - return internal.NewResourceTransformationKey("execute-as-template", t.targetPath) + return internal.NewResourceTransformationKey("execute-as-template", t.targetPath, t.data) } func (t *executeAsTemplateTransform) Transform(ctx *resources.ResourceTransformationCtx) error { |