Difference between revisions of "Terraform backend: remote"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
   
 
   
 
         # 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]] {
 
           name = "example-workspace"
 
           name = "example-workspace"
 
         }
 
         }

Revision as of 13:46, 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

terraform_remote_state

See also

Advertising: