Skip to content

Commit

Permalink
change flow to create and apply
Browse files Browse the repository at this point in the history
  • Loading branch information
topahadzi committed Apr 18, 2023
1 parent 96c191d commit be49c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion watch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ inotifywait -m -r $BASE_FOLDER -e moved_to |
DIR=$(basename "$path")
HOST_ID="${DIR%%_*}"
CERT_NAME="${DIR#*_}"
CERT_FOLDER="$BASE_FOLDER/$CERT_NAME"
CERT_FOLDER="$BASE_FOLDER/$DIR"
CERT_PATH="$CERT_FOLDER/tls.crt"
KEY_PATH="$CERT_FOLDER/tls.key"
python3 "./api.py" --iam-domain $IAM_DOMAIN --iam-user $IAM_USER --iam-password $IAM_PASSWORD --project-name $PROJECT_NAME --project-id $PROJECT_ID --enterprise-project-id $ENTERPRISE_PROJECT_ID --cert-name $CERT_NAME --cert-path $CERT_PATH --key-path $KEY_PATH --host-id $HOST_ID
Expand Down

0 comments on commit be49c81

Please sign in to comment.