This commit is contained in:
2025-07-01 18:24:28 -03:00
parent a9f6a89d54
commit 0a6db8bc48
18 changed files with 170 additions and 352 deletions

View File

@@ -64,32 +64,6 @@ Resources:
metadata__tenant_id:
- exists: false
EventAssignTenantCpfFunction:
Type: AWS::Serverless::Function
Properties:
Handler: events.assign_tenant_cpf.lambda_handler
LoggingConfig:
LogGroup: !Ref EventLog
Policies:
- DynamoDBCrudPolicy:
TableName: !Ref UserTable
- DynamoDBCrudPolicy:
TableName: !Ref OrderTable
Events:
Event:
Type: EventBridgeRule
Properties:
Pattern:
resources: [!Ref OrderTable]
detail-type: [INSERT]
detail:
new_image:
sk: ["0"]
cpf:
- exists: true
metadata__tenant_id:
- exists: false
EventRemoveSlotsOnCanceledFunction:
Type: AWS::Serverless::Function
Properties: