Modules affected
aws.sh
Description
Introduce support for AWS Instance Metadata Service (IMDS) Version 2. These changes are fully backward compatible, and bash-commons
continues to default to Version 1 of the Instance Metadata Service.
You can override the version of IMDS that bash-commons contacts by setting the following environment variable:
GRUNTWORK_BASH_COMMONS_IMDS_VERSION="2"
bash-commons
will continue to default to IMDSv1 until we have migrated all our dependent modules to use version 2. Once this migration is complete, we will issue another release that updates bash-commons to use IMDSv2 by default.
For more information on the differences between Instance Metadata Service Versions 1 and 2 see here.