Equivalent of terraform show /path/to/terraform.tfstate
.
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 |
---|
TerraformShowState
(java.lang.String workspaceName) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected TerraformExecSpec |
addCommandSpecificsToExecSpec(TerraformExecSpec execSpec) Add specific command-line options for the command. |
|
void |
exec() |
|
Provider<java.io.File> |
getStatusReportOutputFile() Get the location where the report file needs to be generated. |
Whether output should be in JSON
This option can be set from the command-line with --json
.
Add specific command-line options for the command.
Get the location where the report file needs to be generated.
Groovy Documentation