changeset 768:665cc514a0cc

Also get the AWS partition metadata because it is used in AWS ARNs
author Franz Glasner <f.glasner@feldmann-mg.com>
date Mon, 19 Feb 2024 16:08:30 +0100
parents 538a579cf6fe
children 4a4d1323b282
files configmix/extras/aws.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configmix/extras/aws.py	Mon Feb 19 15:58:27 2024 +0100
+++ b/configmix/extras/aws.py	Mon Feb 19 16:08:30 2024 +0100
@@ -37,6 +37,7 @@
 URL_META_REGION = "http://169.254.169.254/latest/meta-data/placement/region"
 # XXX FIXME: Use placement/availability-zone instead???
 URL_META_AVAILABILITY_ZONE = "http://169.254.169.254/latest/meta-data/availability-zone"
+# XXX FIXME: also get the partition (to be used in AWS ARNs)
 URL_DYN_INSTANCE_IDENTITY_DOC = "http://169.254.169.254/latest/dynamic/instance-identity/document"
 TIMEOUT = 2
 # See https://gist.github.com/doublenns/7e3e4b72df4aaeccbeabf87ba767f44e