Skip to content

dy ls --all-regions incorrectly displays region as using_region (like ap-northeast-1) for all regions #267

Open
@kzym-w

Description

@kzym-w

When using the dy ls --all-regions command in our dynein CLI tool, the output incorrectly displays "ap-northeast-1" (using_region in ~/.dynein/config.yml) as the region for all listed regions, instead of showing the correct region for each set of tables.

Expected:

DynamoDB tables in region: ap-northeast-1
* issue
DynamoDB tables in region: us-west-2
  issue2
DynamoDB tables in region: eu-west-1
  No table in this region.
...

Current:

DynamoDB tables in region: ap-northeast-1
* issue
DynamoDB tables in region: ap-northeast-1
  issue2
DynamoDB tables in region: ap-northeast-1
  No table in this region.

Config:

❯ cat  ~/.dynein/config.yml
using_region: ap-northeast-1
using_table: issue
using_port: 8000
query:
  strict_mode: false
retry: null

Version:
0.3.0

❯ dy --version
dynein 0.3.0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions