Closed yeslayla closed 3 years ago
Tasks left to do:
# Lookup item in table
aws_resp = table.query(
IndexName="name",
KeyConditionExpression="task = :a",
ExpressionAttributeValues= {
":a": task_arn
}
)
Currently, data is only removed from DynamoDB on
POST /stop_server
this should be changed so that data is instead removed from the database when a task stops.This can be done by using CloudWatch to call a lambda script of a task stopped event.