reenroll when failed
This commit is contained in:
@@ -54,6 +54,12 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool:
|
||||
},
|
||||
cond_expr='attribute_not_exists(sk)',
|
||||
)
|
||||
transact.delete(
|
||||
key=KeyPair(
|
||||
pk=new_image['id'],
|
||||
sk='parent_vacancy',
|
||||
),
|
||||
)
|
||||
except Exception:
|
||||
return False
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user