Commit 1ab663e9 authored by Justin Santa Barbara's avatar Justin Santa Barbara

AWS: Log the region when we don't recognize it.

This will help users see when they've typoed the region name (#14278)
parent 465c5b07
......@@ -74,7 +74,7 @@ function detect-jessie-image () {
;;
*)
echo "Please specify AWS_IMAGE directly (region not recognized)"
echo "Please specify AWS_IMAGE directly (region ${AWS_REGION} not recognized)"
exit 1
esac
fi
......
......@@ -306,7 +306,7 @@ function detect-trusty-image () {
;;
*)
echo "Please specify AWS_IMAGE directly (region not recognized)"
echo "Please specify AWS_IMAGE directly (region ${AWS_REGION} not recognized)"
exit 1
esac
fi
......
......@@ -75,7 +75,7 @@ function detect-vivid-image () {
;;
*)
echo "Please specify AWS_IMAGE directly (region not recognized)"
echo "Please specify AWS_IMAGE directly (region ${AWS_REGION} not recognized)"
exit 1
esac
fi
......
......@@ -74,7 +74,7 @@ function detect-wheezy-image () {
;;
*)
echo "Please specify AWS_IMAGE directly (region not recognized)"
echo "Please specify AWS_IMAGE directly (region ${AWS_REGION} not recognized)"
exit 1
esac
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment