Compare commits

..

1 Commits

Author SHA1 Message Date
5772e6c611 feat: use INCUS_GLOBAL_CONF value
Some checks failed
Build / build (pull_request) Failing after 53s
- set and pass INCUS_GLOBAL_CONF from makefile to terraform
- remove config_dir in all terragrunt.hcl files
2025-10-17 20:04:20 +11:00

View File

@ -15,6 +15,7 @@ define vault_env
export TG_TF_PATH=terraform && \
eval "$$(vault read -format=json kv/data/service/terraform/incus \
| jq -r '.data.data | to_entries[] | "export \(.key)=\(.value|@sh)"')" && \
export INCUS_INSECURE_TLS=1 && \
export INCUS_GLOBAL_CONF=$$(mktemp -d) && \
trap "rm -rf $$INCUS_GLOBAL_CONF" EXIT && \
mkdir -p $$INCUS_GLOBAL_CONF && \