concept

Local and remote backend selection

Select a state backend based on storage, locking, access and execution location; migrate only with verification.

Formal Syntax & Structure

terraform syntaxterraform
Local and remote backend selection

Working Example

Example Snippetterraform
terraform {  required_version = "= 1.14.8"  backend "local" {    path = "catalog.tfstate"  }}
resource "terraform_data" "catalog" {  input = "sample-catalog"}
Terraform Reference