1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
You can also use describe-availability-zones
of EC2 API to list local zones.
- https://docs.aws.amazon.com/local-zones/latest/ug/available-local-zones.html
- https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-availability-zones.html
% 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.
Contenus pertinents
- demandé il y a 7 mois
- demandé il y a un an
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
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.