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 |
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. |
Mark resources to be replaced.
resourceNames
- List of resources to target.Select specific resources.
resourceNames
- List of resources to target.