Difference between revisions of "Terraform backend: gcs"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
This backend supports [[state locking]]. | This backend supports [[state locking]]. | ||
+ | |||
+ | Official example: | ||
+ | |||
+ | terraform { | ||
+ | backend "gcs" { | ||
+ | [[bucket]] = "tf-state-prod" | ||
+ | [[prefix]] = "terraform/state" | ||
+ | } | ||
+ | } | ||
== Related == | == Related == | ||
* [[Terraform S3 backend]] | * [[Terraform S3 backend]] | ||
* [[Object Versioning]] | * [[Object Versioning]] | ||
+ | * <code>[[gsutil]]</code> | ||
== See also == | == See also == |
Latest revision as of 10:51, 25 October 2022
https://www.terraform.io/language/settings/backends/gcs
This backend supports state locking.
Official example:
terraform { backend "gcs" { bucket = "tf-state-prod" prefix = "terraform/state" } }
Related[edit]
See also[edit]
Advertising: