aws-samples / aws-glue-data-catalog-replication-utility

Replication utility for AWS Glue Data Catalog
MIT No Attribution
75 stars 20 forks source link

[Bugfix] Fix issues in deploy.sh when a profile is passed in #7

Open moserda opened 2 years ago

moserda commented 2 years ago

Description of changes: This PR

  1. adds the missing --profile parameter to the AWS CLI calls for setting up the SNS subscription of the target account
  2. Fixes SOURCE/TARGET_REGION/ACCOUNT variables not being set when a profile is passed into deploy.sh with the -pparameter
  3. Updates the bucket policy example in the readme to include s3:GetObject, which is a required permission of the ImportLargeTableLambda

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.