Difference between revisions of "Terraform cloud block"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[Terraform cloud block]]: <code>cloud</code> (Dec 2021) [[Terraform 1.1]] <ref>https://www.hashicorp.com/blog/terraform-1-1-improves-refactoring-and-the-cloud-cli-experience</ref>
 +
* https://www.terraform.io/cli/cloud/settings
  
 
  terraform {
 
  terraform {
 
   cloud {
 
   cloud {
     organization = "my-org"  
+
     [[Terraform organization|organization]] = "my-org"  
 
   
 
   
     workspaces {
+
     [[Terraform workspace|workspaces]] {
 
       name = "my-workspace"
 
       name = "my-workspace"
 
     }
 
     }
 
   }
 
   }
 
  }
 
  }
 +
 +
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 ==
* [[Teraform block]]
+
* [[Terraform blocks]]
  
 
== See also ==
 
== See also ==
 +
* {{Terraform blocks}}
 
* {{Terraform Cloud}}
 
* {{Terraform Cloud}}
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 09:47, 12 February 2024

Advertising: