Difference between revisions of "Terraform cloud block"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
  terraform {
 
  terraform {
 
   cloud {
 
   cloud {
     [[organization]] = "my-org"  
+
     [[Terraform organization|organization]] = "my-org"  
 
   
 
   
 
     [[Terraform workspace|workspaces]] {
 
     [[Terraform workspace|workspaces]] {
Line 11: Line 11:
 
   }
 
   }
 
  }
 
  }
 +
 +
https://developer.hashicorp.com/terraform/cli/cloud/settings
 +
terraform {
 +
  cloud {
 +
    organization = "my-org"
 +
    hostname = "app.terraform.io" # Optional; defaults to app.terraform.io
 +
 +
    workspaces {
 +
      project = "networking-development"
 +
      tags = ["networking", "source:cli"]
 +
    }
 +
  }
 +
}
 +
  
 
== Related ==
 
== Related ==

Latest revision as of 09:47, 12 February 2024

Advertising: