terraform state pull command reference | Terraform | HashiCorp Developer
The `terraform state pull` command downloads and outputs state information from a remote state or local state.