We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c120571 commit 65f362fCopy full SHA for 65f362f
1 file changed
tuts/024-glue-gs/glue-gs.sh
@@ -96,11 +96,11 @@ validate_prerequisites() {
96
exit 1
97
fi
98
99
- # Validate AWS CLI version is 2.x or higher
+ # Validate AWS CLI version
100
local AWS_CLI_VERSION
101
AWS_CLI_VERSION=$(aws --version 2>&1 | cut -d' ' -f1 | cut -d'/' -f2 | cut -d'.' -f1)
102
- if [ "$AWS_CLI_VERSION" -lt 2 ]; then
103
- echo "ERROR: AWS CLI version 2.x or higher is required" >&2
+ if [ "$AWS_CLI_VERSION" -lt 1 ]; then
+ echo "ERROR: AWS CLI is required" >&2
104
105
106
0 commit comments