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 個月前檢視次數 41 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南