An IAM role,
Glue-execution-role, in the consumer account, with the following policies:
- AWS managed policies
AWSGlueServiceRoleandAmazonRedshiftDataFullAccess. - Create a new in-line policy with the following…