Command-line options for tasks
Task | Option | Type | Default | Purpose |
---|---|---|---|---|
|
|
list |
|
Select group of resources to apply. |
|
boolean |
|
Select group of resources to replace. |
|
|
|
boolean |
|
Force removal of dangling workspaces even if state still exists. |
|
|
list |
|
Select group of resources to apply. |
|
boolean |
|
Auto-approve destruction of all mentioned resources. |
|
|
|
list |
|
Select group of resources to apply. |
|
boolean |
|
Write textual plan in JSON format. |
|
|
|
string |
|
Resource to import e.g. |
|
string |
|
Actual identifier to import. Check the Terraform documentation for the specific resource in order to know how to identify this. |
|
|
|
boolean |
|
Force upgrade of modules |
|
boolean |
|
Do not configure backends |
|
|
boolean |
|
Automatically answer yes to any backend migration questions |
|
|
boolean |
|
Disregard any existing configuration and prevent migration of any existing state |
|
|
|
boolean |
|
Write validation output in JSON format. |
|
|
list |
|
Select group of resources to apply. |
|
boolean |
|
Write textual plan in JSON format. |
|
|
boolean |
|
Select group of resources to replace. |
|
|
|
boolean |
|
Write validation output in JSON format. |
|
|
string |
|
Source item to move i.e. |
|
string |
|
Destination item i.e. |
|
|
|
string |
|
Local state file path (relative to Terraform source directory) to push to remote state. |
|
|
string |
|
Resource to remove e.g. |
|
|
string |
|
Resource to taint. |
|
boolean |
|
Allow task to succeed even if the resource is missing. |
|
|
boolean |
|
Continue if remote and local Terraform versions differ from Terraform Cloud. |
|
|
|
string |
|
Resource to untaint. |
|
boolean |
|
Allow task to succeed even if the resource is missing. |
|
|
boolean |
|
Continue if remote and local Terraform versions differ from Terraform Cloud. |
|
|
|
boolean |
|
Write validation output in JSON format. |
Just in case this documentation is out-of-date, always run ./gradlew help --task <taskName> to get a description of supported command-line options.
|