The best way to set up the AWS Glue integration is by running CloudFormation/Terraform directly from the
AWS Role Setup.For manual setup, proceed below.
Manual Setup
Follow the manual steps to create a role and attach Glue and S3 policies, as described here:- Create the “Ryft-ControlPlaneRole” (or reuse if already exists)
- Create and attach the Glue access policy
- Create and attach the S3 access policy
You are done! Locate the ARN of the role you have just created (“Ryft-ControlPlaneRole”) and provide it to Ryft.
The ARN should look similar to:
arn:aws:iam::<account>:role/Ryft-ControlPlaneRoleGlue Metadata Encryption
If you are using Glue Metadata Encryption, ensure that the role you created above has the necessary KMS permissions to the encryption key as well.AWS Lake Formation
If you are using AWS Lake Formation to manage access to your Glue Catalog, ensure that the role you created above has the necessary Lake Formation permissions as well. Follow the AWS documentation here to grant the required permissions to the role.Amazon S3 Access Points
If you are using Amazon S3 Access Points as the storage location for your tables, ensure that the role you created above has the necessary permissions for the access point. The policy for access points should include the same S3 actions mentioned above, with the resource in the format ofarn:aws:s3:<region>:<account_id>::accesspoint/<access_point_name>.
For more details, see AWS documentation here.