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 个月前38 查看次数
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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则