Repository navigation
infra: CDK wire canônico (DynamoDB + Lambda + HttpApi) — ADR-001 PR2 - #5
Merged
Merged
Conversation
Single stack in cdk/: create table and Lambda together (no from_function_name), grant_read_write_data, TABLE_NAME/PIX_FEE env, HttpApi throttle 100/200. No Cognito (PR3). README section additive only. Do not merge without CAB.
patote85
added a commit
that referenced
this pull request
Sep 24, 2026
- Enable ruff flake8-datetimez (DTZ) in pyproject - Replace utcnow with datetime.now(timezone.utc) in lambda/ - README: hard constraints note (DTZ + no CORS *)
patote85
added a commit
that referenced
this pull request
Sep 24, 2026
This was referenced Sep 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ADR-001 PR2 — traz/completa o stack CDK no canônico e wire tabela → Lambda.
from_function_name)grant_read_write_data+ envTABLE_NAME/PIX_FEEaws-api-gateway-cdk)aws-api-gateway-cdkHandler
app.lambda_handler— código emlambda/(lambda/app.py→def lambda_handler).Gaps de propósito (fora deste PR)
Test plan
pip install -r cdk/requirements.txt && npx aws-cdk@2 synth(sem apply).gitignoremínimoDo not merge without CAB.