From 88e5dde425d1caa37836d1822ed5d25d4fe1bbd3 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Fri, 4 Dec 2020 14:15:35 -0500 Subject: [PATCH] Move tf-init.sh to bin directory --- README.md | 2 +- tf-init.sh => bin/tf-init.sh | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename tf-init.sh => bin/tf-init.sh (100%) diff --git a/README.md b/README.md index 9ea2b7a..3d0a514 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/tf-init.sh b/bin/tf-init.sh similarity index 100% rename from tf-init.sh rename to bin/tf-init.sh