Difference between revisions of "Terraform provider: tfe"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user 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
 +
 +
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:
 
* Resources:
 +
** <code>[[tfe_organization]]</code>
 
** <code>[[tfe_workspace]]</code>
 
** <code>[[tfe_workspace]]</code>
 
** <code>[[tfe_variable]]</code>
 
** <code>[[tfe_variable]]</code>
  
<code>[[tfe_workspace]] [[workspace]] [[provider]]</code>
 
  
 
== See also ==
 
== See also ==
* {{terraform providers}}
+
* {{tfe}}
 
* {{TFC}}
 
* {{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: