Add asdf version instructions (#20147)

This commit is contained in:
Dax McDonald 2021-04-23 16:25:58 -07:00 committed by GitHub
parent a9d7031102
commit aa9d4a43d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,10 @@
- General Terraform [styleguide](https://www.terraform.io/docs/configuration/style.html)
- Sourcegraph Terraform [Extended Guide](./extended_guide/terraform.md)
## Terraform versioning
We use [asdf](https://asdf-vm.com/#/) to manage Terraform versions. After installing Asdf into your shell, run `asdf install && asdf reshim` to pickup the Terraform version defined in the `.tool-version` file for the specific Terraform module.
## State
State must be stored using a [GCS Terraform state backend](https://www.terraform.io/docs/backends/types/gcs.html).