aws-samples / aws-samples/aws-codedeploy-samples

common_functions.sh does not use IMDSv2

Open
#95 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
639
Forks
778
PR merge metrics
No merged PRs in 30d

Description

For customers who turn off IMDSv1 the helper scripts will fail:

https://github.com/aws-samples/aws-codedeploy-samples/blob/fe237a2c7e73152f6d00758fbe5c149a9fa34e68/load-balancing/elb-v2/common_functions.sh#L110

Consider retrieving the IMDSv2 token before making calls like the one above.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.