File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed
Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,10 @@ import (
2525 "k8c.io/kubeone/test/testexec"
2626)
2727
28- var (
29- defaultTFEnvironment = []string {
30- "TF_IN_AUTOMATION=true" ,
31- "TF_CLI_ARGS=-no-color" ,
32- }
33- )
28+ var defaultTFEnvironment = []string {
29+ "TF_IN_AUTOMATION=true" ,
30+ "TF_CLI_ARGS=-no-color" ,
31+ }
3432
3533type terraformBin struct {
3634 path string
@@ -79,14 +77,14 @@ func (tf *terraformBin) Destroy() error {
7977func (tf * terraformBin ) varFlags () []string {
8078 var args []string
8179
82- for _ , arg := range tf .vars {
83- args = append (args , "-var" , arg )
84- }
85-
8680 if tf .varFile != "" {
8781 args = append (args , "-var-file" , mustAbsolutePath (tf .varFile ))
8882 }
8983
84+ for _ , arg := range tf .vars {
85+ args = append (args , "-var" , arg )
86+ }
87+
9088 return args
9189}
9290
Original file line number Diff line number Diff line change @@ -915,7 +915,7 @@ var (
915915 varFile : "testdata/vsphere.tfvars" ,
916916 vars : []string {
917917 "disable_auto_update=true" ,
918- "template_name=kkp-flatcar-stable " ,
918+ "template_name=kkp-flatcar-3033.3 " ,
919919 },
920920 },
921921 protokol : protokolBin {
@@ -939,7 +939,7 @@ var (
939939 varFile : "testdata/vsphere.tfvars" ,
940940 vars : []string {
941941 "disable_auto_update=true" ,
942- "template_name=kkp-flatcar-stable " ,
942+ "template_name=kkp-flatcar-3033.3 " ,
943943 },
944944 },
945945 protokol : protokolBin {
You can’t perform that action at this time.
0 commit comments