Skip to main content

1 week ago

aws_availability zones not authorized perform this operation

Getting error below. Check IAM permission user have admin rights. following the course instructions run all cmd with root.  No issue getting availability zones results running cmd aws ec2 describe-availability-zones --profile superhero.  I'm using region "us-west-1"

Data.aws_availability_zones.available: Refreshing state...

Error: Error fetching Availability Zones: UnauthorizedOperation: You are not authorized to perform this operation.

status code: 403, request id: 112a4cf8-edd1-4165-8961-b8bd59153691

on line 3, in data "aws_availability_zones" "available":

3: data "aws_availability_zones" "available" {}

Image of
7 days ago
Did you try a different AZ?