Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/aws-cli/devcontainer-feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
],
"default": "latest",
"description": "Select or enter an AWS CLI version."
},
"verbose": {
"type": "boolean",
"default": true,
"description": "Suppress verbose output."
}
},
"customizations": {
Expand Down
8 changes: 7 additions & 1 deletion src/aws-cli/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ set -e
rm -rf /var/lib/apt/lists/*

VERSION=${VERSION:-"latest"}
VERBOSE=${VERBOSE:-"true"}

AWSCLI_GPG_KEY=FB5DB77FD5C118B80511ADA8A6310ACC4672475C
AWSCLI_GPG_KEY_MATERIAL="-----BEGIN PGP PUBLIC KEY BLOCK-----
Expand Down Expand Up @@ -110,7 +111,12 @@ install() {
exit 1
fi

unzip "${scriptZipFile}"
if [ "${VERBOSE}" = "false" ]; then
unzip -q "${scriptZipFile}"
else
unzip "${scriptZipFile}"
fi

./aws/install

# kubectl bash completion
Expand Down
Loading