Difference between revisions of "Terraform backend: remote"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
  
[[.github/workflows/terraform.yml]]
+
[[.github/workflows/terraform.yml]]
 
  terraform {
 
  terraform {
 
       backend "remote" {
 
       backend "remote" {
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]] {
+
         [[Terraform workspace|workspaces]] {
 
           name = "example-workspace"
 
           name = "example-workspace"
 
         }
 
         }
Line 17: Line 17:
  
 
== Related ==
 
== Related ==
[[terraform_remote_state]]
+
* <code>[[terraform_remote_state]]</code>
  
 
== See also ==
 
== See also ==

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: