AWS: Log the region when we don't recognize it.
This will help users see when they've typoed the region name (#14278)
This commit is contained in:
@@ -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
|
exit 1
|
||||||
esac
|
esac
|
||||||
fi
|
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
|
exit 1
|
||||||
esac
|
esac
|
||||||
fi
|
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
|
exit 1
|
||||||
esac
|
esac
|
||||||
fi
|
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
|
exit 1
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user