Skip to content

Instantly share code, notes, and snippets.

@kovid-r
Last active August 16, 2021 07:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kovid-r/0aa5356b94b783e9df298fefb1e44347 to your computer and use it in GitHub Desktop.
Save kovid-r/0aa5356b94b783e9df298fefb1e44347 to your computer and use it in GitHub Desktop.
Create dms-access-for-endpoint role and attach policy to enable DMS to assume role after connecting to Redshift.
aws iam create-role --role-name dms-access-for-endpoint \
--assume-role-policy-document dms_access_for_endpoint_trust_relationship_policy.json
aws iam attach-role-policy --role-name dms-access-for-endpoint \
--policy-arn arn:aws:iam::aws:policy/service-role/AmazonDMSRedshiftS3Role
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment