Difference between revisions of "Terraform local backend"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(3 intermediate revisions by 2 users 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 = {
 
      source  = "hashicorp/local"
 
      version = "2.1.0"
 
    }
 
  
 +
terraform {
 +
  backend "local" {
 +
    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: