ec2metadata support new fields

Bug #1894344 reported by Fred Vogt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-utils
Fix Released
Wishlist
Fred Vogt

Bug Description

AWS recently added new fields, most notably "region":
  region, placement group name, partition number, host ID, and availability zone-ID:

https://aws.amazon.com/about-aws/whats-new/2020/08/amazon-ec2-instance-metadata-service-supports-additional-fields-improved-automation-operability/

placement/group-name
placement/host-id
placement/partition-number
placement/region
placement/availability-zone-id

Sample values:
placement/group-name: not available
placement/host-id: not available
placement/partition-number: not available
placement/region: us-west-2
placement/availability-zone-id: usw2-az1

Revision history for this message
Fred Vogt (fvogt) wrote :

Possible implementation, you'll want to update the usage info fields.

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-categories.html

fork of ec2-metadata.sh with these fields:
https://gist.github.com/fred-vogt/9c2e773fdacf12e71260c71e7fd17e68

Revision history for this message
Fred Vogt (fvogt) wrote :
Revision history for this message
Dan Watkins (oddbloke) wrote :

Hi Fred, thanks for filing this bug! A PR against that repo would be great!

Changed in cloud-utils:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Fred Vogt (fvogt) wrote :
Paride Legovini (paride)
Changed in cloud-utils:
assignee: nobody → Fred Vogt (fvogt)
Revision history for this message
Lucas Albuquerque Medeiros de Moura (lamoura) wrote :

This bug is believed to be fixed by landing https://github.com/canonical/cloud-utils/pull/13/. If this is still a problem for you, please make a comment and set the state back
to New

Thank you.

Changed in cloud-utils:
status: Triaged → Fix Committed
Paride Legovini (paride)
Changed in cloud-utils:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.