Skip to content

Commit

Permalink
resources: Add data context to the key in ExecuteAsTemplate
Browse files Browse the repository at this point in the history
Fixes #7046
  • Loading branch information
bep committed Mar 11, 2020
1 parent df29855 commit 18cb21f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 18cb21f

Please sign in to comment.