You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lambda is showing an error when deleting (stopping) an instance that has not had any data added to DynamoDB.
Identify Environment
Lambda/Module version: 2.0.4
Expected behavior
No error, should handle this issue.
Screenshots
2023-08-15T08:32:02.687-04:00 | [INFO] 2023-08-15T12:32:02.687Z 0de02b89-a68e-4f55-93e4-22ebfc506704 instance attributes: None - line number: 429
2023-08-15T08:32:02.687-04:00
Copy[ERROR]
TypeError: object of type 'NoneType' has no len()Traceback (most recent call last): File "/var/task/ddns-lambda.py", line 431, in lambda_handler if len(instance) > 0:
Additional context
First observed in ma12-gov.
The text was updated successfully, but these errors were encountered:
Describe the bug
Lambda is showing an error when deleting (stopping) an instance that has not had any data added to DynamoDB.
Identify Environment
Expected behavior
No error, should handle this issue.
Screenshots
Additional context
First observed in ma12-gov.
The text was updated successfully, but these errors were encountered: