Skip to content

Commit

Permalink
use info fn
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyek committed Apr 1, 2024
1 parent 7eff748 commit c02c529
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/update-ynab/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ deploy:
function_name="update-ynab-fn"
if aws lambda get-function --function-name $function_name --region us-east-1 &> /dev/null
then
echo "Updating function"
$(info Updating function)
aws lambda update-function-code --function-name $function_name \
--zip-file fileb://${zipfile}
else
echo "Creating function"
$(info Creating function)
aws lambda create-function --function-name $function_name \
--runtime provided.al2023 \
--handler bootstrap \
Expand Down

0 comments on commit c02c529

Please sign in to comment.