Difference between revisions of "Terraform backend: remote"

From wikieduonline
Jump to navigation Jump to search
(Created page with "https://www.terraform.io/language/settings/backends/remote {{Terraform backends}}")
 
 
(10 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]]
  
  
 +
[[.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"
 +
        }
 +
      }
 +
    }
  
{{Terraform backends}}
+
== Related ==
 +
* <code>[[terraform_remote_state]]</code>
 +
 
 +
== See also ==
 +
* {{Terraform backends}}
 +
* {{HCP}}
 +
 
 +
[[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: