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
질문됨 7달 전164회 조회
1개 답변
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
전문가
Kallu
답변함 7달 전
  • 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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠