Skip to content
This repository was archived by the owner on Jul 12, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,18 @@ Terraform module.
$ gsutil mb -p ${PROJECT_ID} gs://${PROJECT_ID}-terraform
```

It is also **strongly recommended** that you enable versioning of this
bucket. That will enable you to access old versions of the Terraform state
for disaster recovery.

```text
$ gsutil versioning set on gs://${PROJECT_ID}-terraform
```

You can also create a [lifecycle
policy](https://cloud.google.com/storage/docs/managing-lifecycles) to only
keep recent versions.

1. Create a new source control repository dedicated to managing infrastructure.
This example assumes the repo is named `"en-infra"`.

Expand Down