🔧 Make TF_VAR_cluster_name mandatory in testing script

This commit is contained in:
Jérôme Petazzoni
2023-07-28 14:51:20 +02:00
parent 58de0d31f8
commit 4498dc41a4

View File

@@ -4,6 +4,11 @@
# another set of clusters while a first one is still running)
# you should set the TF_VAR_cluster_name environment variable.
if ! [ "$TF_VAR_cluster_name" ]; then
echo "Please set TF_VAR_cluster_name. Thanks."
exit 1
fi
cd terraform/one-kubernetes
case "$1" in