Difference between revisions of "Terraform cloud block"
Jump to navigation
Jump to search
↑ https://www.hashicorp.com/blog/terraform-1-1-improves-refactoring-and-the-cloud-cli-experience
Tags: Mobile web edit, Mobile edit |
|||
(2 intermediate revisions 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 == | ||
Line 16: | Line 30: | ||
== See also == | == See also == | ||
+ | * {{Terraform blocks}} | ||
* {{Terraform Cloud}} | * {{Terraform Cloud}} | ||
[[Category:Terraform]] | [[Category:Terraform]] |
Latest revision as of 09:47, 12 February 2024
Terraform cloud block: cloud
(Dec 2021) Terraform 1.1 [1]
terraform { cloud { organization = "my-org" workspaces { 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[edit]
See also[edit]
- Terraform blocks:
terraform, cloud, moved, dynamic
, Terraform import block,required_providers
- Terraform Cloud (TFC), Terraform Cloud Agents (Business version),
terraform login
,execution modes
,terraform_remote_state
, Terraform cloud block, Terraform Cloud Workflows, Terraform organization,TF_CLOUD_ORGANIZATION
, Dynamic Provider Credentials, Bootstrapping trust between a TFC workspace and AWS
Advertising: