2021-05-09 09:10:21 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
2022-10-21 13:52:37 +10:00
|
|
|
pushd "$(dirname "$0")" >/dev/null
|
|
|
|
|
|
|
|
# terraform cloud without the remote execution part
|
2023-01-23 13:01:58 +01:00
|
|
|
TF_FORCE_LOCAL_BACKEND="1" sops exec-env secrets.yaml "${*@Q}"
|
2022-10-21 13:52:37 +10:00
|
|
|
|
|
|
|
popd >/dev/null
|