scylladb / scylla-migrator

Migrate data extract using Spark to Scylla, normally from Cassandra/parquet files. Alt. from DynamoDB to Scylla Alternator.
https://migrator.docs.scylladb.com/stable/
Apache License 2.0
55 stars 34 forks source link

For DynamoDB to alternator migrations make region specification mandatory #176

Open pdbossman opened 1 month ago

pdbossman commented 1 month ago

If region is not specified, it can be ambiguous which region scylla-migrator chooses as a source. When performing a migration, it is important the source is explicitly specified and honored, so this parameter should be mandatory when DynamoDB is a source or target.

julienrf commented 1 month ago

I believe the region could also be configured in ~/.aws/config, and in such a case we don’t want the region to be mandatory in the config.

julienrf commented 1 month ago

Alternatively, would it be enough to print more logs about the used region?