resources: Add data context to the key in ExecuteAsTemplate

Fixes #7046
This commit is contained in:
Bjørn Erik Pedersen 2020-03-11 22:21:16 +01:00
parent df298558a5
commit 18cb21ff2e
No known key found for this signature in database
GPG Key ID: 330E6E2BD4859D8F
1 changed files with 1 additions and 1 deletions

View File

@ -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 {