12 lines
293 B
Bash
Executable File
12 lines
293 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
SPACES_ACCESS_ID=$(pass jdormit-infra-spaces-access-id)
|
|
SPACES_SECRET_KEY=$(pass jdormit-infra-spaces-secret-key)
|
|
|
|
terraform init \
|
|
-backend-config="access_key=$SPACES_ACCESS_ID" \
|
|
-backend-config="secret_key=$SPACES_SECRET_KEY" \
|
|
$@
|