fix enroll and reenroll relationship
This commit is contained in:
@@ -308,6 +308,7 @@ Resources:
|
||||
Type: AWS::Serverless::Function
|
||||
Properties:
|
||||
Handler: events.issue_cert.lambda_handler
|
||||
# Timeout: 30
|
||||
LoggingConfig:
|
||||
LogGroup: !Ref EventLog
|
||||
Policies:
|
||||
@@ -331,10 +332,10 @@ Resources:
|
||||
old_image:
|
||||
status: [IN_PROGRESS]
|
||||
|
||||
EventCertReportingAppendCertFunction:
|
||||
EventReportingAppendCertFunction:
|
||||
Type: AWS::Serverless::Function
|
||||
Properties:
|
||||
Handler: events.cert_reporting.append_cert.lambda_handler
|
||||
Handler: events.reporting.append_cert.lambda_handler
|
||||
LoggingConfig:
|
||||
LogGroup: !Ref EventLog
|
||||
Policies:
|
||||
@@ -346,23 +347,19 @@ Resources:
|
||||
Properties:
|
||||
Pattern:
|
||||
resources: [!Ref EnrollmentTable]
|
||||
detail-type: [MODIFY]
|
||||
detail:
|
||||
keys:
|
||||
sk: ["0"]
|
||||
new_image:
|
||||
status: [COMPLETED]
|
||||
cert:
|
||||
exists: true
|
||||
org_id:
|
||||
exists: true
|
||||
old_image:
|
||||
cert:
|
||||
exists: false
|
||||
- exists: true
|
||||
|
||||
EventCertReportingSendReportEmailFunction:
|
||||
EventReportingSendReportEmailFunction:
|
||||
Type: AWS::Serverless::Function
|
||||
Properties:
|
||||
Handler: events.cert_reporting.send_report_email.lambda_handler
|
||||
Handler: events.reporting.send_report_email.lambda_handler
|
||||
LoggingConfig:
|
||||
LogGroup: !Ref EventLog
|
||||
Policies:
|
||||
|
||||
Reference in New Issue
Block a user