The command below will show only the availability zones for the user’s default Region (as specified in aws configure).
aws ec2 describe-availability-zones --query 'AvailabilityZones[*].ZoneId'
The command without the query.

Filtered output…

The command below will show only the availability zones for the user’s default Region (as specified in aws configure).
aws ec2 describe-availability-zones --query 'AvailabilityZones[*].ZoneId'
The command without the query.
Filtered output…