diff --git a/lab/bin/reset-environment b/lab/bin/reset-environment index dc2134584..3cc4f5b94 100644 --- a/lab/bin/reset-environment +++ b/lab/bin/reset-environment @@ -87,7 +87,7 @@ RESOURCES_PRECREATED=${RESOURCES_PRECREATED:-""} echo "Cleaning up previous lab infrastructure..." -tf_dir=$(realpath --relative-to='$PWD' '/eks-workshop/terraform') +tf_dir=$(realpath --relative-to="$PWD" '/eks-workshop/terraform') terraform -chdir="$tf_dir" init -upgrade > /tmp/terraform-destroy-init.log terraform -chdir="$tf_dir" destroy --auto-approve > /tmp/terraform-destroy.log