Skip to content

feat(pds): Remove bucket_name from R2 Binding#201

Open
helloimalastair wants to merge 1 commit into
ascorbic:mainfrom
helloimalastair:remove-bucket-name
Open

feat(pds): Remove bucket_name from R2 Binding#201
helloimalastair wants to merge 1 commit into
ascorbic:mainfrom
helloimalastair:remove-bucket-name

Conversation

@helloimalastair

Copy link
Copy Markdown

Closes #107.

When going through the creation flow for a new PDS, wrangler will now auto-create a bucket using wrangler's Automatic Provisioning feature, which should prevent collisions between multiple PDSses, as you cannot have two Workers on an account with the same name.

Example output from the deploy flow:

Experimental: The following bindings need to be provisioned:
Binding           Resource
env.BLOBS         R2 Bucket


Provisioning BLOBS (R2 Bucket)...
🌀 Creating new R2 Bucket "my-pds-pds-blobs"...
✨ BLOBS provisioned 🎉

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

Successfully merging this pull request may close these issues.

Feature request: allow customization of cloudflare r2 bucket name

1 participant