[ { "heading": "Terraform CLI" }, { "title": "Overview", "path": "" }, { "title": "Basic CLI Features", "href": "/cli/commands" }, { "title": "Initializing Working Directories", "routes": [ { "title": "Overview", "path": "init" }, { "title": "init", "href": "/cli/commands/init" }, { "title": "get", "href": "/cli/commands/get" } ] }, { "title": "Provisioning Infrastructure", "routes": [ { "title": "Overview", "path": "run" }, { "title": "plan", "href": "/cli/commands/plan" }, { "title": "apply", "href": "/cli/commands/apply" }, { "title": "destroy", "href": "/cli/commands/destroy" } ] }, { "title": "Authenticating", "routes": [ { "title": "Overview", "path": "auth" }, { "title": "login", "href": "/cli/commands/login" }, { "title": "logout", "href": "/cli/commands/logout" } ] }, { "title": "Writing and Modifying Code", "routes": [ { "title": "Overview", "path": "code" }, { "title": "console", "href": "/cli/commands/console" }, { "title": "fmt", "href": "/cli/commands/fmt" }, { "title": "validate", "href": "/cli/commands/validate" }, { "title": "0.13upgrade", "href": "/cli/commands/0.13upgrade" }, { "title": "0.12upgrade", "href": "/cli/commands/0.12upgrade" } ] }, { "title": "Inspecting Infrastructure", "routes": [ { "title": "Overview", "path": "inspect" }, { "title": "graph", "href": "/cli/commands/graph" }, { "title": "output", "href": "/cli/commands/output" }, { "title": "show", "href": "/cli/commands/show" }, { "title": "state list", "href": "/cli/commands/state/list" }, { "title": "state show", "href": "/cli/commands/state/show" } ] }, { "title": "Importing Infrastructure", "routes": [ { "title": "Overview", "path": "import" }, { "title": "import", "href": "/cli/commands/import" }, { "title": "Usage Tips", "path": "import/usage" }, { "title": "Resource Importability", "path": "import/importability" } ] }, { "title": "Manipulating State", "routes": [ { "title": "Overview", "path": "state" }, { "title": "Resource Addressing", "path": "state/resource-addressing" }, { "title": "state", "href": "/cli/commands/state" }, { "title": "Inspecting State", "routes": [ { "title": "Overview", "path": "state/inspect" }, { "title": "state list", "href": "/cli/commands/state/list" }, { "title": "state show", "href": "/cli/commands/state/show" }, { "title": "refresh", "href": "/cli/commands/refresh" } ] }, { "title": "Forcing Re-creation (Tainting)", "routes": [ { "title": "Overview", "path": "state/taint" }, { "title": "taint", "href": "/cli/commands/taint" }, { "title": "untaint", "href": "/cli/commands/untaint" } ] }, { "title": "Moving Resources", "routes": [ { "title": "Overview", "path": "state/move" }, { "title": "state mv", "href": "/cli/commands/state/mv" }, { "title": "state rm", "href": "/cli/commands/state/rm" }, { "title": "state replace-provider", "href": "/cli/commands/state/replace-provider" } ] }, { "title": "Disaster Recovery", "routes": [ { "title": "Overview", "path": "state/recover" }, { "title": "state pull", "href": "/cli/commands/state/pull" }, { "title": "state push", "href": "/cli/commands/state/push" }, { "title": "force-unlock", "href": "/cli/commands/force-unlock" } ] } ] }, { "title": "Managing Workspaces", "routes": [ { "title": "Overview", "path": "workspaces" }, { "title": "workspace", "routes": [ { "title": "Overview", "href": "/cli/commands/workspace" }, { "title": "workspace list", "href": "/cli/commands/workspace/list" }, { "title": "workspace select", "href": "/cli/commands/workspace/select" }, { "title": "workspace new", "href": "/cli/commands/workspace/new" }, { "title": "workspace delete", "href": "/cli/commands/workspace/delete" }, { "title": "workspace show", "href": "/cli/commands/workspace/show" } ] } ] }, { "title": "Managing Plugins", "routes": [ { "title": "Overview", "path": "plugins" }, { "title": "Plugin Signing", "path": "plugins/signing" }, { "title": "providers", "href": "/cli/commands/providers" }, { "title": "version", "href": "/cli/commands/version" }, { "title": "providers lock", "href": "/cli/commands/providers/lock" }, { "title": "providers mirror", "href": "/cli/commands/providers/mirror" }, { "title": "providers schema", "href": "/cli/commands/providers/schema" } ] }, { "title": "CLI Configuration", "routes": [ { "title": "Overview", "path": "config" }, { "title": "CLI Configuration", "path": "config/config-file" }, { "title": "Environment Variables", "path": "config/environment-variables" } ] }, { "title": "Using Terraform Cloud", "routes": [ { "title": "Overview", "path": "cloud" }, { "title": "Terraform Cloud Settings", "path": "cloud/settings" }, { "title": "Initializing and Migrating", "path": "cloud/migrating" }, { "title": "Command Line Arguments", "path": "cloud/command-line-arguments" } ] }, { "title": "Automating Terraform", "routes": [ { "title": "Running Terraform in Automation", "href": "https://learn.hashicorp.com/tutorials/terraform/automate-terraform?in=terraform/automation&utm_source=WEBSITE&utm_medium=WEB_IO&utm_offer=ARTICLE_PAGE&utm_content=DOCS" }, { "title": "GitHub Actions", "href": "https://learn.hashicorp.com/tutorials/terraform/github-actions?utm_source=WEBSITE&utm_medium=WEB_IO&utm_offer=ARTICLE_PAGE&utm_content=DOCS" } ] }, { "title": "Alphabetical List of Commands", "routes": [ { "title": "Overview", "href": "/cli/commands" }, { "title": "apply", "href": "/cli/commands/apply" }, { "title": "console", "href": "/cli/commands/console" }, { "title": "destroy", "href": "/cli/commands/destroy" }, { "title": "env", "href": "/cli/commands/env" }, { "title": "fmt", "href": "/cli/commands/fmt" }, { "title": "force-unlock", "href": "/cli/commands/force-unlock" }, { "title": "get", "href": "/cli/commands/get" }, { "title": "graph", "href": "/cli/commands/graph" }, { "title": "import", "href": "/cli/commands/import" }, { "title": "init", "href": "/cli/commands/init" }, { "title": "login", "href": "/cli/commands/login" }, { "title": "logout", "href": "/cli/commands/logout" }, { "title": "output", "href": "/cli/commands/output" }, { "title": "plan", "href": "/cli/commands/plan" }, { "title": "providers", "href": "/cli/commands/providers" }, { "title": "providers lock", "href": "/cli/commands/providers/lock" }, { "title": "providers mirror", "href": "/cli/commands/providers/mirror" }, { "title": "providers schema", "href": "/cli/commands/providers/schema" }, { "title": "push (deprecated)", "href": "/cli/commands/push" }, { "title": "refresh", "href": "/cli/commands/refresh" }, { "title": "show", "href": "/cli/commands/show" }, { "title": "state", "href": "/cli/commands/state" }, { "title": "state list", "href": "/cli/commands/state/list" }, { "title": "state mv", "href": "/cli/commands/state/mv" }, { "title": "state pull", "href": "/cli/commands/state/pull" }, { "title": "state push", "href": "/cli/commands/state/push" }, { "title": "state replace-provider", "href": "/cli/commands/state/replace-provider" }, { "title": "state rm", "href": "/cli/commands/state/rm" }, { "title": "state show", "href": "/cli/commands/state/show" }, { "title": "taint", "href": "/cli/commands/taint" }, { "title": "test (deprecated)", "href": "/cli/commands/test" }, { "title": "untaint", "href": "/cli/commands/untaint" }, { "title": "validate", "href": "/cli/commands/validate" }, { "title": "version", "href": "/cli/commands/version" }, { "title": "workspace", "href": "/cli/commands/workspace" }, { "title": "workspace list", "href": "/cli/commands/workspace/list" }, { "title": "workspace select", "href": "/cli/commands/workspace/select" }, { "title": "workspace new", "href": "/cli/commands/workspace/new" }, { "title": "workspace delete", "href": "/cli/commands/workspace/delete" }, { "title": "workspace show", "href": "/cli/commands/workspace/show" }, { "title": "0.12upgrade", "href": "/cli/commands/0.12upgrade" }, { "title": "0.13upgrade", "href": "/cli/commands/0.13upgrade" } ] }, { "title": "Alphabetical list of commands", "hidden": true, "routes": [ { "title": "Overview", "path": "commands" }, { "title": "apply", "path": "commands/apply" }, { "title": "console", "path": "commands/console" }, { "title": "destroy", "path": "commands/destroy" }, { "title": "env", "path": "commands/env" }, { "title": "fmt", "path": "commands/fmt" }, { "title": "force-unlock", "path": "commands/force-unlock" }, { "title": "get", "path": "commands/get" }, { "title": "graph", "path": "commands/graph" }, { "title": "import", "path": "commands/import" }, { "title": "init", "path": "commands/init" }, { "title": "login", "path": "commands/login" }, { "title": "logout", "path": "commands/logout" }, { "title": "output", "path": "commands/output" }, { "title": "plan", "path": "commands/plan" }, { "title": "providers", "routes": [ { "title": "providers", "path": "commands/providers" }, { "title": "providers lock", "path": "commands/providers/lock" }, { "title": "providers mirror", "path": "commands/providers/mirror" }, { "title": "providers schema", "path": "commands/providers/schema" } ] }, { "title": "push (deprecated)", "path": "commands/push" }, { "title": "refresh", "path": "commands/refresh" }, { "title": "show", "path": "commands/show" }, { "title": "state", "routes": [ { "title": "state", "path": "commands/state" }, { "title": "state list", "path": "commands/state/list" }, { "title": "state mv", "path": "commands/state/mv" }, { "title": "state pull", "path": "commands/state/pull" }, { "title": "state push", "path": "commands/state/push" }, { "title": "state replace-provider", "path": "commands/state/replace-provider" }, { "title": "state rm", "path": "commands/state/rm" }, { "title": "state show", "path": "commands/state/show" } ] }, { "title": "taint", "path": "commands/taint" }, { "title": "test (deprecated)", "path": "commands/test", "hidden": true }, { "title": "untaint", "path": "commands/untaint" }, { "title": "validate", "path": "commands/validate" }, { "title": "version", "path": "commands/version" }, { "title": "workspace", "routes": [ { "title": "workspace", "path": "commands/workspace" }, { "title": "workspace list", "path": "commands/workspace/list" }, { "title": "workspace select", "path": "commands/workspace/select" }, { "title": "workspace new", "path": "commands/workspace/new" }, { "title": "workspace delete", "path": "commands/workspace/delete" }, { "title": "workspace show", "path": "commands/workspace/show" } ] }, { "title": "0.12upgrade", "path": "commands/0.12upgrade" }, { "title": "0.13upgrade", "path": "commands/0.13upgrade" } ] }, { "title": "Internals", "routes": [ { "title": "Overview", "href": "/internals" }, { "title": "Credentials Helpers", "href": "/internals/credentials-helpers" }, { "title": "Debugging Terraform", "href": "/internals/debugging" }, { "title": "Module Registry Protocol", "href": "/internals/module-registry-protocol" }, { "title": "Provider Network Mirror Protocol", "href": "/internals/provider-network-mirror-protocol" }, { "title": "Provider Registry Protocol", "href": "/internals/provider-registry-protocol" }, { "title": "Resource Graph", "href": "/internals/graph" }, { "title": "Resource Lifecycle", "href": "/internals/lifecycle" }, { "title": "Login Protocol", "href": "/internals/login-protocol" }, { "title": "JSON Output Format", "href": "/internals/json-format" }, { "title": "Remote Service Discovery", "href": "/internals/remote-service-discovery" }, { "title": "Provider Metadata", "href": "/internals/provider-meta" } ] }, { "title": "Installation", "hidden": true, "routes": [ { "title": "APT Packages for Debian and Ubuntu", "path": "install/apt" }, { "title": "Yum Packages for Red Hat Enterprise Linux, Fedora, and Amazon Linux", "path": "install/yum" } ] } ]