Difference between revisions of "Terraform local backend"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
https://www.terraform.io/language/settings/backends/local
 
https://www.terraform.io/language/settings/backends/local
  
  [[terraform local backend]]
+
 
    local = {
+
  terraform {
      source  = "hashicorp/local"
+
  backend "local" {
      version = "2.1.0"
+
    path = "relative/path/to/terraform.tfstate"
    }
+
  }
 +
}
 +
 
 +
 
  
 
== See also ==
 
== See also ==

Revision as of 19:15, 26 September 2022

https://www.terraform.io/language/settings/backends/local


terraform {
  backend "local" {
    path = "relative/path/to/terraform.tfstate"
  }
}


See also

Advertising: