Difference between revisions of "Terraform provider: tfe"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
https://registry.terraform.io/providers/hashicorp/tfe/latest/docs/resources/workspace
 
https://registry.terraform.io/providers/hashicorp/tfe/latest/docs/resources/workspace
  
  [[tfe_workspace]] [[workspace]] [[provider]]
+
Official example:
 +
  provider "tfe" {
 +
  hostname = var.hostname # Optional, defaults to HCP Terraform `app.terraform.io`
 +
  token    = var.token
 +
  version  = "~> 0.58.0"
 +
}
 +
 +
# Create an organization
 +
resource "tfe_organization" "org" {
 +
  # ...
 +
}
 +
 
 +
 
 +
 
 +
* Resources:
 +
** <code>[[tfe_organization]]</code>
 +
** <code>[[tfe_workspace]]</code>
 +
** <code>[[tfe_variable]]</code>
 +
 
  
 
== See also ==
 
== See also ==
* {{terraform providers}}
+
* {{tfe}}
 +
* {{TFC}}
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 07:14, 3 October 2024

https://registry.terraform.io/providers/hashicorp/tfe/latest/docs/resources/workspace

Official example:

provider "tfe" {
  hostname = var.hostname # Optional, defaults to HCP Terraform `app.terraform.io`
  token    = var.token
  version  = "~> 0.58.0"
}

# Create an organization
resource "tfe_organization" "org" {
  # ...
}



See also[edit]

Advertising: