Equivalent of terraform apply
.
A TerraformApply
task will be bound to TerraformPlan task
in order to retrieve most of its configuration.
Fields inherited from class | Fields |
---|---|
class AbstractTerraformTask |
JSON_FORMAT, NO_COLOR |
Constructor and description |
---|
TerraformApply
(TerraformPlanProvider plan, java.lang.String workspaceName) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected TerraformExecSpec |
addCommandSpecificsToExecSpec(TerraformExecSpec execSpec) |
|
protected Provider<java.io.File> |
getPlanFile() |
|
void |
setJson(boolean state) Output progress in json as per https://www.terraform.io/docs/internals/machine-readable-ui.html |
|
void |
setReplacements(java.util.List<java.lang.String> resourceNames) Mark resources to be replaced. |
|
void |
setTargets(java.util.List<java.lang.String> resourceNames) Select specific resources. |
Output progress in json as per https://www.terraform.io/docs/internals/machine-readable-ui.html
state
- Set to true
to output in JSON.Mark resources to be replaced.
resourceNames
- List of resources to target.Select specific resources.
resourceNames
- List of resources to target.