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

S3 bucket is not reused with slim_handler: True #1333

Open
simsong opened this issue May 3, 2024 · 0 comments
Open

S3 bucket is not reused with slim_handler: True #1333

simsong opened this issue May 3, 2024 · 0 comments

Comments

@simsong
Copy link

simsong commented May 3, 2024

When Zappa is using the slim_handler, it does not reuse the temporary S3 bucket that it creates --- Even when zappa update command is used. This results in the creation of many, many, many temporary buckets, until the quota is reached.

Context

This is similar to #1643, except that user is encountering problems with temporary buckets are not needed for the Zappa operation.

Expected Behavior

The created bucket should be reused. Right now, the name is not resused.

Actual Behavior

New buckets keep getting created.

Possible Fix

After a bucket is created, update that zappa_settings.json file to note the bucket name.

Your Environment

  • Zappa version used: 0.58.0
  • Operating System and Python version: MacOS
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