Difference between revisions of "Terraform backend: remote"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
https://www.terraform.io/language/settings/backends/remote
 
https://www.terraform.io/language/settings/backends/remote
Since  [[v0.11.13]]
+
* Since  [[v0.11.13]]
 +
 
 +
 
 +
[[.github/workflows/terraform.yml]]
 +
terraform {
 +
      backend "remote" {
 +
        # The name of your Terraform Cloud organization.
 +
        organization = "example-organization"
 +
 +
        # The name of the Terraform Cloud workspace to store Terraform state files in.
 +
        [[Terraform workspace|workspaces]] {
 +
          name = "example-workspace"
 +
        }
 +
      }
 +
    }
 +
 
 +
== Related ==
 +
* <code>[[terraform_remote_state]]</code>
  
 
== See also ==
 
== See also ==
 
* {{Terraform backends}}
 
* {{Terraform backends}}
 +
* {{HCP}}
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 13:47, 18 July 2024

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


.github/workflows/terraform.yml
terraform {
      backend "remote" {
        # The name of your Terraform Cloud organization.
        organization = "example-organization"

        # The name of the Terraform Cloud workspace to store Terraform state files in.
        workspaces {
          name = "example-workspace"
        }
      }
    }

Related[edit]

See also[edit]

Advertising: