Difference between revisions of "Terraform backend: gcs"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
This backend supports [[state locking]]. | This backend supports [[state locking]]. | ||
+ | |||
+ | Official example: | ||
+ | <pre> | ||
+ | terraform { | ||
+ | backend "gcs" { | ||
+ | bucket = "tf-state-prod" | ||
+ | prefix = "terraform/state" | ||
+ | } | ||
+ | } | ||
+ | </pre> | ||
== Related == | == Related == |
Revision as of 14:55, 19 June 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
See also
Advertising: