mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-19 04:26:39 +00:00
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:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user