Best practices for keeping AWS CLI up to date.

0

The AWS CLI documentation at https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html reads:

"While you might find it in package managers, these are unsupported and unofficial packages that are not produced or managed by AWS. We recommend that you install the AWS CLI from only the official AWS distribution points, as documented in this guide."

In addition, having spot checked this documentation versus the latest release identified by aws --version I have never found the documentation to be accurate. The actual release of AWS CLI is always newer than reported in the documentation.

Manually checking inaccurate documentation as a mechanism to keep up to date with CLI releases is not feasible.

What is the best practice for keeping the AWS CLI up to date with new releases from AWS?

質問済み 1ヶ月前44ビュー
2回答
1

Hello.

The AWS CLI version recorded in CHANGELOG on GitHub is always the latest.
https://raw.githubusercontent.com/aws/aws-cli/v2/CHANGELOG.rst

The current latest version listed in CHANGELOG is 2.17.44.
I updated to the latest version of AWS CLI on my local PC, and I was able to confirm "2.17.44", so you can always check CHANGELOG for the latest information.

aws --version
aws-cli/2.17.44 Python/3.11.9 Linux/4.4.0-19041-Microsoft exe/x86_64.ubuntu.20
profile picture
エキスパート
回答済み 1ヶ月前
profile picture
エキスパート
レビュー済み 1ヶ月前
profile picture
エキスパート
レビュー済み 1ヶ月前
1

Hi,

You minimally have 1 to a couple of updates of AWS CLI every week.

Knowing that, I have scheduled (cron or alike) a nightly update commands on all my machines (incl a "brew upgrade" on my Mac) to keep all CLIs that I need up to date. I never experienced any problem after such automated updates and it allows me to remain up-to-date.

Best,

Didier

profile pictureAWS
エキスパート
回答済み 1ヶ月前
profile picture
エキスパート
レビュー済み 1ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ