|
|
||
|---|---|---|
| .. | ||
| README.md | ||
README.md
Configure terraform plugin
Requires terrorform-plugin >= 1.0.10
Sample configuration for the Terraform plugin.
Sample configuration
tool:
terraform:
installations:
- name: "terraform"
home: "/terraform-0.11"
properties:
- installSource:
installers:
- terraformInstaller:
id: "0.11.9-linux-amd64"
An example of the job definition, with the JobDSL, that uses the terraform wrapper.
jobs:
- script: >
job("terraform-job") {
description()
keepDependencies(false)
disabled(false)
concurrentBuild(false)
wrappers {
terraformBuildWrapper {
variables("")
terraformInstallation("terraform")
doGetUpdate(true)
doNotApply(false)
doDestroy(false)
config {
value("inline")
inlineConfig("")
fileConfig("")
}
}
}
}