Equivalent of terraform output
.
Could be used with command-line arguments --name
.
Fields inherited from class | Fields |
---|---|
class AbstractTerraformTask |
JSON_FORMAT, NO_COLOR |
Type | Name and description |
---|---|
boolean |
json Whether output should be in JSON |
Constructor and description |
---|
TerraformOutput
(java.lang.String workspaceName) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected TerraformExecSpec |
addCommandSpecificsToExecSpec(TerraformExecSpec execSpec) |
|
void |
exec() |
|
java.lang.String |
getOutputName() List of names to retrieve output for. |
|
Provider<java.io.File> |
getStatusReportOutputFile() Get the location where the report file needs to be generated. |
|
void |
setName(java.lang.String outputName) Set the list of output names to retrieve. |
Whether output should be in JSON
This option can be set from the command-line with --json
.
List of names to retrieve output for.
null
to retrieve all names.Get the location where the report file needs to be generated.
Set the list of output names to retrieve.
This option can be set on the command-line with --name
outputName
- Output name to use.Groovy Documentation