...

/

Downloading and Uploading the State File

Downloading and Uploading the State File

Learn the pull and push subcommands and when they’re used in Terraform state.

The pull subcommand

The terraform state pull command is used to manually download and output the state from a remote backend. This command also works with the local back-end.

Syntax

The pull subcommand has the following syntax: terraform state pull [options].

This command is equivalent to viewing the contents of the Terraform state directly, in a read-only mode. The output of the command is sent in ...