mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
chore(terraformExecute): set TF_IN_AUTOMATION env var (#3224)
* chore(terraformExecute): set TF_IN_AUTOMATION env var * cleanup Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
This commit is contained in:
parent
e041f84f2f
commit
88bd8f1303
@ -169,7 +169,7 @@ func terraformExecuteMetadata() config.StepData {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
Containers: []config.Container{
|
Containers: []config.Container{
|
||||||
{Name: "terraform", Image: "hashicorp/terraform:0.14.7", Options: []config.Option{{Name: "--entrypoint", Value: ""}}},
|
{Name: "terraform", Image: "hashicorp/terraform:0.14.7", EnvVars: []config.EnvVar{{Name: "TF_IN_AUTOMATION", Value: "piper"}}, Options: []config.Option{{Name: "--entrypoint", Value: ""}}},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -41,3 +41,6 @@ spec:
|
|||||||
options:
|
options:
|
||||||
- name: --entrypoint
|
- name: --entrypoint
|
||||||
value: ''
|
value: ''
|
||||||
|
env:
|
||||||
|
- name: TF_IN_AUTOMATION
|
||||||
|
value: piper
|
||||||
|
Loading…
Reference in New Issue
Block a user