Difference between revisions of "Terraform backend: remote"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
  
  
 +
[[.github/workflows/terraform.yml]]
 
  terraform {
 
  terraform {
 
       backend "remote" {
 
       backend "remote" {
 
         # The name of your Terraform Cloud organization.
 
         # The name of your Terraform Cloud organization.
 
         organization = "example-organization"
 
         organization = "example-organization"
 
+
 
         # The name of the Terraform Cloud workspace to store Terraform state files in.
 
         # The name of the Terraform Cloud workspace to store Terraform state files in.
 
         workspaces {
 
         workspaces {

Revision as of 19:35, 7 February 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

terraform_remote_state

See also

Advertising: