Mercurial > hgrepos > Python > libs > ConfigMix
diff configmix/extras/aws.py @ 769:4a4d1323b282 default tip
Doc what AWS partition is
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Mon, 19 Feb 2024 16:11:48 +0100 |
| parents | 665cc514a0cc |
| children |
line wrap: on
line diff
--- a/configmix/extras/aws.py Mon Feb 19 16:08:30 2024 +0100 +++ b/configmix/extras/aws.py Mon Feb 19 16:11:48 2024 +0100 @@ -37,7 +37,10 @@ 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) +# +# XXX FIXME: also get the partition ("aws", "aws-cn" or "aws-us-gov") +# (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
