Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throw exception with snapshot volume size when delete snapshot in EC2 #1

Open
lypham040888 opened this issue Sep 26, 2019 · 0 comments

Comments

@lypham040888
Copy link

  1. Situation
    We use function delete in snapshot
    snapshot.delete()
    We get snapshot.volume_size after delete function
    The lambda function throw exception snapshot_id does not existed
  2. Root cause: after execute snapshot.delete() the snapshot does not existed and we can't get properties in it
  3. Solution
    Get volume_size before function snapshot.delete()
    If lambda delete successfully, we accumulate volume_size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant