Skip to content

Commit

Permalink
v2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcGueury committed Jan 13, 2024
1 parent 9758547 commit bf576dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basis/bin/shared_bash_function.sh
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ certificate_dir_before_terraform() {
if [ -d $PROJECT_DIR/src/tls/$TF_VAR_dns_name ]; then
export TF_VAR_certificate_dir=$PROJECT_DIR/src/tls/$TF_VAR_dns_name
echo Using existing TF_VAR_certificate_dir=$TF_VAR_certificate_dir
elif [ -d $TF_VAR_certificate_dir ]; then
elif [ "$TF_VAR_certificate_dir" != "" ] && [ -d $TF_VAR_certificate_dir ]; then
echo Using existing TF_VAR_certificate_dir=$TF_VAR_certificate_dir
elif [ "$TF_VAR_tls" == "new_dns_01" ]; then
# Create a new certificate via DNS-01
Expand Down

0 comments on commit bf576dd

Please sign in to comment.