Skip to content

feat(infra): Dynamo keys, tabela CDK e GSI UserEmailIndex - #13

Open
lseixas wants to merge 1 commit into
devfrom
feature/dynamo_infra
Open

feat(infra): Dynamo keys, tabela CDK e GSI UserEmailIndex#13
lseixas wants to merge 1 commit into
devfrom
feature/dynamo_infra

Conversation

@lseixas

@lseixas lseixas commented Aug 15, 2026

Copy link
Copy Markdown
Member

Summary

  • Adiciona dynamo_keys para a single-table (USER / MEMBER / SUBSCRIBER) e o GSI UserEmailIndex.
  • Alinha a tabela CDK (pk/sk, EpepTable-{stage}) e as envs (dynamo_endpoint_url, partition/sort keys).
  • Datasource e DynamoTable Python já estavam iguais ao template; repositório Dynamo/DTO ainda ficam para um PR seguinte.

Related to #11

Test plan

  • STAGE=TEST pytest (inclui test_dynamo_keys)
  • docker compose up -d em iac/local
  • Conferir naming EpepTable-dev e GSI UserEmailIndex no synth/CDK
  • Não esperar o UserRepositoryDynamo atual gravar no formato novo (DTO/repo ainda modelam o User antigo)

Prepara a single-table para USER/MEMBER/SUBSCRIBER e o GSI UserEmailIndex, alinhado ao template, sem reescrever o repositório Dynamo ainda.
@cursor

cursor Bot commented Aug 15, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant