Difference between revisions of "Terraform local backend"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(One intermediate revision by one other user not shown)
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"
    }
+
  }
 +
}
 +
 
 +
== Related ==
 +
* [[Terraform backend: remote]]
  
 
== See also ==
 
== See also ==

Latest revision as of 15:53, 15 March 2023

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


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

Related[edit]

See also[edit]

Advertising: