Search code examples
amazon-web-servicesaws-glue

AWS Glue gives AccessDeniedException


When I'm trying to create Glue Crawler, I get this error, even though I have full administration access on IAM

{"service":"AWSGlue","statusCode":400,"errorCode":"AccessDeniedException","requestId":"c1a564e7-d012-4e96-946f-a32be287e8ba","errorMessage":"Account 1234567890 is denied access.","type":"AwsServiceError"}

Solution

  • Open IAM

    • Policy Name: GlueActions (Type :Customer Inline)[ --- "Statement":[

        "Resource":
                   ...
                   "arn:aws:glue:*xxx:catalog"
                   ...
                   ],
                  "Effect":"Allow"
                      ]
      

    Ensure the above "catalog" is present else create the whole Customer Inline JSON