To ensure AWS services operate correctly, appropriate IAM Roles must be created:
Go to the IAM service and navigate to the Roles section.
AWSGlueServiceRole
AWSS3FullAccess
CloudWatchLogsFullAccess
Click Create Role, select Service as Lambda.
Search for and select the roles you need.
Name it LambdaRole
, review the settings, and click Create Role.
AWSGlueServiceRole
AmazonAthenaFullAccess
AmazonQuicksightAthenaFullAccess
AmazonS3FullAccess
Similarly, click Create Role, then choose the service as Glue.
Search for and select the roles you need.
Name it GlueRole
, review the settings, and click Create Role.
These permissions allow Glue to access S3 and Lambda to trigger Glue jobs.