Skip to content

Commit

Permalink
make it possible to modify all env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
simongottschlag committed Dec 5, 2023
1 parent 5bfe144 commit a373755
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docker/terraform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ OPA_BLAST_RADIUS=$5

RG_LOCATION_SHORT=${RG_LOCATION_SHORT:-we}
RG_LOCATION_LONG=${RG_LOCATION_LONG:-westeurope}
BACKEND_KEY="${ENVIRONMENT}.terraform.tfstate"
BACKEND_RG="rg-${ENVIRONMENT}-${RG_LOCATION_SHORT}-${SUFFIX}"
BACKEND_KV="kv-${ENVIRONMENT}-${RG_LOCATION_SHORT}-${SUFFIX}"
BACKEND_KV_KEY="sops"
BACKEND_NAME="sa${ENVIRONMENT}${RG_LOCATION_SHORT}${SUFFIX}"
CONTAINER_NAME="tfstate-${DIR}"
BACKEND_KEY="${BACKEND_KEY:-${ENVIRONMENT}.terraform.tfstate}"
BACKEND_RG="${BACKEND_RG:-rg-${ENVIRONMENT}-${RG_LOCATION_SHORT}-${SUFFIX}}"
BACKEND_KV="${BACKEND_KV:-kv-${ENVIRONMENT}-${RG_LOCATION_SHORT}-${SUFFIX}}"
BACKEND_KV_KEY="${BACKEND_KV_KEY:-sops}"
BACKEND_NAME="${BACKEND_NAME:-sa${ENVIRONMENT}${RG_LOCATION_SHORT}${SUFFIX}}"
CONTAINER_NAME="${CONTAINER_NAME:-tfstate-${DIR}}"

export HELM_CACHE_HOME=/tmp/${DIR}/.helm_cache

Expand Down

0 comments on commit a373755

Please sign in to comment.