Editing Terraform state show --help
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | {{ | + | {{lowercarse}} |
[[terraform state show]] --help | [[terraform state show]] --help | ||
− | Usage: terraform [global options] state show [options] | + | Usage: terraform [global options] state show [options] ADDRESS |
− | Shows the attributes of a | + | Shows the attributes of a resource in the Terraform state. |
This command shows the attributes of a single resource in the Terraform | This command shows the attributes of a single resource in the Terraform | ||
Line 12: | Line 12: | ||
Options: | Options: | ||
− | + | -state=statefile Path to a Terraform state file to use to look | |
up Terraform-managed resources. By default it will | up Terraform-managed resources. By default it will | ||
use the state "terraform.tfstate" if it exists. | use the state "terraform.tfstate" if it exists. | ||
Line 18: | Line 18: | ||
== Related commands == | == Related commands == | ||
* <code>[[terraform state list]]</code> | * <code>[[terraform state list]]</code> | ||
− | |||
− | |||
== See also == | == See also == | ||
− | |||
− | |||
* {{terraform cmd}} | * {{terraform cmd}} | ||
− | * {{terraform | + | * {{terraform}} |
[[Category:Terraform]] | [[Category:Terraform]] |
Advertising: