This commit is contained in:
parent
8cfa0fb4d9
commit
662ce1b1a5
1
infrastructure/create-resources/.gitignore
vendored
1
infrastructure/create-resources/.gitignore
vendored
@ -4,3 +4,4 @@
|
||||
terraform.tfstate
|
||||
terraform.tfstate.backup
|
||||
secrets.txt
|
||||
.env
|
||||
|
6
infrastructure/create-resources/setup-terraform.sh
Executable file
6
infrastructure/create-resources/setup-terraform.sh
Executable 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"
|
||||
|
Loading…
Reference in New Issue
Block a user