Previously, if you wanted to develop or deploy a worker with attached resources, you’d have to first manually create the desired resources. Now, if your Wrangler configuration file includes a KV namespace, D1 database, or R2 bucket that does not yet exist on your account, you can develop locally and deploy your application seamlessly, without having to run additional commands.
Automatic provisioning is launching as an open beta, and we’d love to hear your feedback to help us make improvements! It currently works for KV, R2, and D1 bindings. You can disable the feature using the --no-x-provision flag.
To use this feature, update to [email protected] and add bindings to your config file without resource IDs e.g.:
{ "kv_namespaces": [{ "binding": "MY_KV" }], "d1_databases": [{ "binding": "MY_DB" }], "r2_buckets": [{ "binding": "MY_R2" }],}wrangler dev will then automatically create these resources for you locally, and on your next run of wrangler deploy, Wrangler will call the Cloudflare API to create the requested resources and link them to your Worker.
Though resource IDs will be automatically written back to your Wrangler config file after resource creation, resources will stay linked across future deploys even without adding the resource IDs to the config file. This is especially useful for shared templates, which now no longer need to include account-specific resource IDs when adding a binding.
Source: Cloudflare
Latest Posts
- Power Platform – Power Platform Monitor Overview page and predefined alerts [MC1193456]
![Power Platform – Power Platform Monitor Overview page and predefined alerts [MC1193456] 2 pexels diego madrigal 162471 539694](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Power Platform – New data request metrics for Power Platform Monitor and Power Apps Monitor for canvas apps [MC1193465]
![Power Platform - New data request metrics for Power Platform Monitor and Power Apps Monitor for canvas apps [MC1193465] 3 pexels onewayupdesigns 2085831](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Microsoft 365 Copilot: Content Sources in Copilot Chat [MC1127230]
![(Updated) Microsoft 365 Copilot: Content Sources in Copilot Chat [MC1127230] 4 pexels pixabay 274192](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft 365 Copilot: Add web links as references in Copilot Notebooks [MC1193414]
![Microsoft 365 Copilot: Add web links as references in Copilot Notebooks [MC1193414] 5 pexels apasaric 325185](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)

![Power Platform – Power Platform Monitor Overview page and predefined alerts [MC1193456] 2 pexels diego madrigal 162471 539694](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-diego-madrigal-162471-539694-150x150.webp)
![Power Platform - New data request metrics for Power Platform Monitor and Power Apps Monitor for canvas apps [MC1193465] 3 pexels onewayupdesigns 2085831](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-onewayupdesigns-2085831-150x150.webp)
![(Updated) Microsoft 365 Copilot: Content Sources in Copilot Chat [MC1127230] 4 pexels pixabay 274192](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-pixabay-274192-150x150.webp)
![Microsoft 365 Copilot: Add web links as references in Copilot Notebooks [MC1193414] 5 pexels apasaric 325185](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-apasaric-325185-150x150.webp)
![Dynamics 365 Contact Center - Enable selective hold with music and exit prompts [MC1179700] 7 Dynamics 365 Contact Center – Enable selective hold with music and exit prompts [MC1179700]](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-pachon-in-motion-426015731-16931380-150x150.webp)