diff --git a/terraform.sh b/terraform.sh index 40e4182..b8ef684 100755 --- a/terraform.sh +++ b/terraform.sh @@ -158,6 +158,11 @@ while IFS=',' read -ra providers; do declare -x "OVH_CONSUMER_KEY=${!token}" fi ;; + gandi) + if [ -z "${GANDI_SHARING_ID}" ]; then + declare -x "GANDI_SHARING_ID=${!key}" + declare -x "GANDI_KEY=${!secret}" + fi esac done