Revert "resources: Add data context to the key in ExecuteAsTemplate"
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 21 Mar 2020 17:38:19 +0000 (18:38 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 21 Mar 2020 17:38:19 +0000 (18:38 +0100)
This reverts commit 18cb21ff2e4a60e7094908e4d6113a9d5a086316.

Fixes #7064

resources/resource_transformers/templates/execute_as_template.go

index d6015c17eb2f396e6d0a69c361de8525589bcd5d..115b3d047c274077fcfdb55f7e610e4e19531301 100644 (file)
@@ -48,7 +48,7 @@ type executeAsTemplateTransform struct {
 }
 
 func (t *executeAsTemplateTransform) Key() internal.ResourceTransformationKey {
-       return internal.NewResourceTransformationKey("execute-as-template", t.targetPath, t.data)
+       return internal.NewResourceTransformationKey("execute-as-template", t.targetPath)
 }
 
 func (t *executeAsTemplateTransform) Transform(ctx *resources.ResourceTransformationCtx) error {