Difference between revisions of "Terraform backend: remote"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
+ | [[.github/workflows/terraform.yml]] | ||
terraform { | terraform { | ||
backend "remote" { | backend "remote" { | ||
# The name of your Terraform Cloud organization. | # The name of your Terraform Cloud organization. | ||
organization = "example-organization" | organization = "example-organization" | ||
− | + | ||
# The name of the Terraform Cloud workspace to store Terraform state files in. | # The name of the Terraform Cloud workspace to store Terraform state files in. | ||
− | workspaces { | + | [[Terraform workspace|workspaces]] { |
name = "example-workspace" | name = "example-workspace" | ||
} | } | ||
Line 16: | Line 17: | ||
== Related == | == Related == | ||
− | + | * <code>[[terraform_remote_state]]</code> | |
== See also == | == See also == | ||
* {{Terraform backends}} | * {{Terraform backends}} | ||
+ | * {{HCP}} | ||
[[Category:Terraform]] | [[Category:Terraform]] |
Latest revision as of 13:47, 18 July 2024
https://www.terraform.io/language/settings/backends/remote
- Since v0.11.13
.github/workflows/terraform.yml terraform { backend "remote" { # The name of your Terraform Cloud organization. organization = "example-organization" # The name of the Terraform Cloud workspace to store Terraform state files in. workspaces { name = "example-workspace" } } }
Related[edit]
See also[edit]
Advertising: