Last active
August 16, 2021 07:46
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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