Move tf-init.sh to bin directory
This commit is contained in:
parent
450800c11d
commit
88e5dde425
@ -3,7 +3,7 @@
|
||||
This repository contains the configuration files and scripts to support the infrastructure I use for personal projects.
|
||||
|
||||
## Terraform environment variables and config
|
||||
Terraform state is stored in a DigitalOcean Spaces bucket. In order to access the bucket, the Terraform backend configuration needs the `access_key` and `secret_key` variables set. These variables are the DigitalOcean Spaces access key and secret key, respectively, which are generated from the DigitalOcean Spaces UI. I'm passing them to Terraform via the `-backend-config` `terraform init` option and pulling their values from my password manager. This operation is encapsulated in the `tf-init.sh` script.
|
||||
Terraform state is stored in a DigitalOcean Spaces bucket. In order to access the bucket, the Terraform backend configuration needs the `access_key` and `secret_key` variables set. These variables are the DigitalOcean Spaces access key and secret key, respectively, which are generated from the DigitalOcean Spaces UI. I'm passing them to Terraform via the `-backend-config` `terraform init` option and pulling their values from my password manager. This operation is encapsulated in the `bin/tf-init.sh` script.
|
||||
|
||||
The Terraform scripts also require some environment variables set:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user