Configure Environment

You must have the AWS SDK for Python (Boto3) installed to run this script. Here is more information about installing and configuring the SDK.

Check Python SDK Version

You must verify that you are running at least v1.16.38 of the AWS SDK for Python to have all of the components necessary to use the Well-Architected API.

How to verify version

$ pip3 show boto3

Name: boto3
Version: 1.17.27
Summary: The AWS SDK for Python
Home-page: https://github.com/boto/boto3
Author: Amazon Web Services
Author-email: None
License: Apache License 2.0
Location: /usr/local/lib/python3.9/site-packages
Requires: botocore, jmespath, s3transfer

If the version number is less than 1.16.38, then you can upgrade boto3 via pip:

pip3 install boto3 --upgrade --user