We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dde576e commit e18248dCopy full SHA for e18248d
pkg/harness/stackrun/v1/types.go
@@ -87,16 +87,16 @@ func (in *StackRun) Env() []string {
87
env = append(env, fmt.Sprintf("PLURAL_CONSOLE_URL=%s", lo.FromPtr(in.Creds.URL)))
88
}
89
90
- var tfArgs []string
+ tfArgs := "TF_CLI_ARGS="
91
if in.Parallelism != nil {
92
- tfArgs = append(tfArgs, fmt.Sprintf("-parallelism=%d", *in.Parallelism))
+ tfArgs += fmt.Sprintf("-parallelism=%d ", *in.Parallelism)
93
94
95
if in.Refresh != nil {
96
- tfArgs = append(tfArgs, fmt.Sprintf("-refresh=%t", *in.Refresh))
+ tfArgs += fmt.Sprintf("-refresh=%t", *in.Refresh)
97
98
99
- return append(env, tfArgs...)
+ return append(env, tfArgs)
100
101
102
// Vars parses the StackRun.Variables map as a valid JSON.
0 commit comments