update meilis

This commit is contained in:
2025-07-05 15:08:06 -03:00
parent 0df4d7aa71
commit d002828afa
17 changed files with 430 additions and 45 deletions

View File

@@ -17,7 +17,7 @@ Globals:
Architectures:
- x86_64
Layers:
- !Sub arn:aws:lambda:sa-east-1:336641857101:layer:layercake:78
- !Sub arn:aws:lambda:sa-east-1:336641857101:layer:layercake:79
Environment:
Variables:
TZ: America/Sao_Paulo
@@ -47,11 +47,11 @@ Resources:
Type: EventBridgeRule
Properties:
Pattern:
resources: [betaeducacao-prod-users_d2o3r5gmm4it7j]
resources: [!Ref UserTable]
detail:
new_image:
sk:
- prefix: batch_jobs#
- prefix: batchjobs#
EventEmailReceivingFunction:
Type: AWS::Serverless::Function
@@ -112,3 +112,23 @@ Resources:
BucketName: !Ref BucketName
ObjectKeyPrefix: "mailbox"
ScanEnabled: true
EventAddTenantFunction:
Type: AWS::Serverless::Function
Properties:
Handler: events.stopgap.add_tenant.lambda_handler
Policies:
- DynamoDBWritePolicy:
TableName: !Ref UserTable
LoggingConfig:
LogGroup: !Ref EventLog
Events:
DynamoDBEvent:
Type: EventBridgeRule
Properties:
Pattern:
resources: [!Ref UserTable]
detail:
new_image:
id:
- prefix: orgmembers#