To ensure AWS services operate correctly, appropriate IAM Roles must be created:
Go to the IAM service and navigate to the Roles section.

AWSGlueServiceRoleAWSS3FullAccessCloudWatchLogsFullAccessClick Create Role, select Service as Lambda.

Search for and select the roles you need.



Name it LambdaRole, review the settings, and click Create Role.



AWSGlueServiceRoleAmazonAthenaFullAccessAmazonQuicksightAthenaFullAccessAmazonS3FullAccessSimilarly, 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.