Skip to content
/ s3-sync Public

Migrating S3 Buckets Across AWS Accounts

License

Notifications You must be signed in to change notification settings

checkr/s3-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Migrating S3 Buckets Across AWS Accounts

There are a lot of steeps needed to migrate buckets across accounts and this tool automates them all!

  1. Before running copy config.yaml to config.prod.yaml, fill in the blanks for source and destination account and add buckets you would like to sync.
source:
  account_number: ...
  aws_access_key_id: ...
  aws_secret_access_key: ...
  aws_region: ...

destination:
  account_number: ...
  aws_user: username
  aws_access_key_id: ...
  aws_secret_access_key: ...
  aws_region: ...
  enable_bucket_versioning: true
  sync_sse: AES256

buckets:
  saso-test-1: us-east-1-checkr-saso-test-1
  saso-test-2: us-east-1-checkr-saso-test-2
  1. Run the sync with go run main.go sync --config config.prod.yaml

s3-sync

Releases

No releases published

Packages

No packages published

Languages