Skip to content

How can I have dynamodb table name dynamically based on my env? #297

@manoj-ahi

Description

@manoj-ahi

Expected Behavior

I have my dev and stage env in one AWS region and I am using the suffix _dev and _stage to tables.
Is there any way to add this suffix in runtime to @DynamoDBTable()?

Actual Behavior

I tried to override the value using TableNameResolver but the override method is not getting called. also, I tried with Spring expression to evaluate the expression but that is also not working.

Would appreciate any help. Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions