SSM global-infrastructure missing local-zone usw2-sea1-az1

0

I need to display a list of available local-zones to my users. The list needs to show a meaningful local-zone location (Phoenix, Seattle, Los Angeles...). The only AWS API that I know of that can access this information is an SSM get-parameters-by-path request for /aws/service/global-infrastructure/local-zones.

When I run this query, the results are missing at least one local-zone entry 'usw2-sea1-az1' (Seattle).

If this is an AWS data error, is there a timeline on when this might get fixed/updated? Are there better methods for retrieving a local-zone's human-readable location?

wbr
asked 6 months ago155 views
1 Answer
0

You can also use describe-availability-zones of EC2 API to list local zones.

% aws  ec2 describe-availability-zones --region=us-west-2 --filters Name=zone-type,Values=local-zone  --all-availability-zones --query 'AvailabilityZones[].[State, OptInStatus, ZoneName]' --output text
available       not-opted-in    us-west-2-den-1a
available       not-opted-in    us-west-2-las-1a
available       not-opted-in    us-west-2-lax-1a
available       not-opted-in    us-west-2-lax-1b
available       not-opted-in    us-west-2-pdx-1a
available       not-opted-in    us-west-2-phx-2a
available       not-opted-in    us-west-2-sea-1a

You should also remember to opt-in for local zone but I don't think that has anything to do with Seattle local zone missing from SSM parameters as I can see many other zones that I haven't opt-in.

profile picture
EXPERT
Kallu
answered 6 months ago
  • Well, I'm opted in to all of the local zones within the scope of my service, but more importantly, describe-availability-zones does not show the zone location. The only API that shows actual zone location (to my knowledge) is the SSM API.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions