add test_mode
This commit is contained in:
@@ -96,6 +96,8 @@ Resources:
|
||||
detail:
|
||||
new_image:
|
||||
sk: ['0']
|
||||
payment_method:
|
||||
- anything-but: [MANUAL]
|
||||
|
||||
EventPaymentsChargeCreditCardFunction:
|
||||
Type: AWS::Serverless::Function
|
||||
@@ -245,6 +247,26 @@ Resources:
|
||||
old_image:
|
||||
status: [PENDING]
|
||||
|
||||
EventRunSelfDestructionFunction:
|
||||
Type: AWS::Serverless::Function
|
||||
Properties:
|
||||
Handler: events.run_self_destruction.lambda_handler
|
||||
LoggingConfig:
|
||||
LogGroup: !Ref EventLog
|
||||
Policies:
|
||||
- DynamoDBCrudPolicy:
|
||||
TableName: !Ref OrderTable
|
||||
Events:
|
||||
Event:
|
||||
Type: EventBridgeRule
|
||||
Properties:
|
||||
Pattern:
|
||||
resources: [!Ref OrderTable]
|
||||
detail-type: [EXPIRE]
|
||||
detail:
|
||||
keys:
|
||||
sk: ['SCHEDULE#SELF_DESTRUCTION']
|
||||
|
||||
# DEPRECATED
|
||||
EventAppendOrgIdFunction:
|
||||
Type: AWS::Serverless::Function
|
||||
|
||||
Reference in New Issue
Block a user