Add setup-terraform
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kasper Juul Hermansen 2022-02-17 22:15:08 +01:00
parent 8cfa0fb4d9
commit 662ce1b1a5
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23
2 changed files with 7 additions and 0 deletions

View File

@ -4,3 +4,4 @@
terraform.tfstate
terraform.tfstate.backup
secrets.txt
.env

View File

@ -0,0 +1,6 @@
#!/bin/bash
export $(grep -v "^#" .env | xargs)
terraform init -backend-config="access_key=$ACCESS_KEY" -backend-config="secret_key=$SECRET_KEY"