Skip to content

Commit 71ef770

Browse files
authored
Add link to metadata endpoint docs
1 parent c82716b commit 71ef770

File tree

1 file changed

+3
-0
lines changed
  • modules/bash-commons/src

1 file changed

+3
-0
lines changed

modules/bash-commons/src/aws.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
# A collection of thin wrappers for direct calls to the AWS CLI and EC2 metadata API. These wrappers exist so that
33
# (a) it's more convenient to fetch specific info you need, such as an EC2 Instance's private IP and (b) so you can
44
# replace these helpers with mocks to do local testing or unit testing.
5+
#
6+
# See also: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html for info
7+
# on the metadata endpoint at 169.254.169.254.
58

69
# shellcheck source=./modules/bash-commons/src/assert.sh
710
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/assert.sh"

0 commit comments

Comments
 (0)