Skip to content
Permalink
Browse files

resources: Add data context to the key in ExecuteAsTemplate

Fixes #7046
  • Loading branch information
bep committed Mar 11, 2020
1 parent df29855 commit 18cb21ff2e4a60e7094908e4d6113a9d5a086316
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 {

0 comments on commit 18cb21f

Please sign in to comment.
You can’t perform that action at this time.