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
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 == |
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
See also
- 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: