Fix: the way to renderCUETemplate for terraform provider is wrong (#2798)

Fixed the probelm of renderring cue template for terraform provider
after #2788
This commit is contained in:
Zheng Xi Zhou
2021-11-24 21:34:06 +08:00
committed by GitHub
parent d1f70def0e
commit 216a95a2dd
+1 -1
View File
@@ -594,7 +594,7 @@ func renderCUETemplate(elem types.AddonElementFile, parameters string, args map[
if err != nil {
return nil, err
}
out, err := v.LookupByScript(fmt.Sprintf("{%s}", elem.Data))
out, err := v.LookupByScript(elem.Data)
if err != nil {
return nil, err
}