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

Unable to Remove Function if Bucket/Log Group Does Not Exist #297

Open
gmolto opened this issue Nov 28, 2018 · 0 comments
Open

Unable to Remove Function if Bucket/Log Group Does Not Exist #297

gmolto opened this issue Nov 28, 2018 · 0 comments

Comments

@gmolto
Copy link
Member

gmolto commented Nov 28, 2018

Attempting to remove a SCAR function that involves a non-existent S3 bucket or Log Group results in the function not being deleted:

$ scar rm  -n scar-lambda-darknet
The requested log group '/aws/lambda/scar-lambda-darknet' does not exist.
There was an exception in get_bucket_notification_configuration
The specified bucket does not exist
$ scar ls
NAME                   MEMORY    TIME  IMAGE_ID        API_URL
-------------------  --------  ------  --------------  ---------
scar-lambda-darknet      3008     300  grycap/darknet  -

Expected behaviour: Delete the function regardless of the existence of either the Log group or the S3 bucket

@alpegon alpegon self-assigned this Dec 4, 2018
@alpegon alpegon removed their assignment Sep 6, 2019
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

2 participants