Skip to content

Commit 54480d8

Browse files
committed
updates 2/14
1 parent 8866af6 commit 54480d8

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

src/content/changelog/workers/2025-02-14-automatic-resource-creation-beta.mdx renamed to src/content/changelog/workers/2025-02-14-automatic-resource-provisioning-beta.mdx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
---
2-
title: Automatic Resource Creation (Beta)
2+
title: Automatically provision Cloudflare resources when deploying a Worker with Wrangler (Beta)
33
description: When you deploy a Worker that binds to a Cloudflare resource, Wrangler will automatically detect and create any resources that do not exist on your account.
44
products:
55
- workers
66
date: 2025-02-14 00:00:00 UTC
77
---
88

9-
You can now automatically create Cloudflare resources as part of your deployment! You no longer need to manually create any resources that do not yet exist on your account prior to deploying. Wrangler will automatically detect any required [KV](/kv), [D1](/d1), or [R2](/r2) resources and create them on your behalf.
10-
11-
For more details, check out our [documentation](/workers/wrangler/automatic-resource-creation) on how to get started with automatic resource creation.
9+
You can now automatically create Cloudflare resources when deploying a Worker with Wrangler. You no longer need to manually create any resources that do not yet exist on your account prior to deploying. Wrangler will automatically detect any required [KV](/kv), [D1](/d1), or [R2](/r2) resources and create them on your behalf.
1210

1311
```bash
1412
$ wrangler deploy --x-provision
@@ -41,5 +39,4 @@ Deployed my-worker triggers
4139
https://my-worker.workers.dev
4240
Current Version ID: ...
4341
```
44-
45-
Resource provisiong is currently a beta feature. If you run into issues or would like to leave feedback for the team to help us improve, please send us a message in our [Cloudflare Developers Discord](https://discord.cloudflare.com/) in the [Wrangler channel](https://discord.com/channels/595317990191398933/799437470004412476).
42+
For more details, check out our [documentation](/workers/wrangler/automatic-resource-provisioning) on how to get started.

src/content/docs/workers/wrangler/automatic-resource-creation.mdx renamed to src/content/docs/workers/wrangler/automatic-resource-provisioning.mdx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
pcx_content_type: concept
3-
title: Automatic Resource Creation
3+
title: Automatically provision Cloudflare resources when deploying a Worker with Wrangler (Beta)
44
description: When you deploy a Worker that binds to a Cloudflare resource, Wrangler will automatically detect and create any resources that do not exist on your account.
55
sidebar:
66
badge:
@@ -9,9 +9,9 @@ sidebar:
99

1010
import { PackageManagers, WranglerConfig } from "~/components";
1111

12-
You can now automatically provision Cloudflare resources as part of your deployment. You no longer need to manually create any resources that do not yet exist on your account prior to deploying.
12+
You can now automatically provision Cloudflare resources as part of your deployment. You no longer need to manually run separate commands to create resources that do not yet exist on your account prior to deploying.
1313

14-
With resource provisioning, if your Wrangler configuration file includes a [KV namespace](/kv/), [D1 database](/d1/), or [R2 bucket](/r2/) that does not yet exist, Wrangler will create these resources upon deployment. This is done by adding the experimental `-–x-provision` flag to your commands.
14+
With resource provisioning, if your Wrangler configuration file includes a [KV namespace](/kv/), [D1 database](/d1/), or [R2 bucket](/r2/) that does not yet exist, Wrangler will detect and create these resources upon deployment. This is done by adding the experimental `-–x-provision` flag to your commands.
1515

1616
## Wrangler Configuration
1717
You can set up your Wrangler configuration file like the following:
@@ -57,7 +57,7 @@ When you're ready to deploy, run:
5757
args={"deploy –-x-provision"}
5858
/>
5959

60-
Upon deploy Wrangler will automatically create the resources that do not yet exist on your accound and bind them to your Worker.
60+
Upon deploy, Wrangler will automatically create the resources that do not yet exist on your account and bind them to your Worker. Each newly created resource will be named with the format `<worker-name>-<binding-name>` by default.
6161

6262
```bash
6363
$ wrangler deploy --x-provision
@@ -91,7 +91,5 @@ Deployed my-worker triggers
9191
Current Version ID: ...
9292
```
9393

94-
The newly created resource will be named with the format `<worker-name>-<binding-name>` by default.
95-
9694
## Feedback
97-
Resource provisiong is currently a beta feature. If you run into issues or would like to leave feedback for the team to help us improve, please send us a message in our [Cloudflare Developers Discord](https://discord.cloudflare.com/) in the [Wrangler channel](https://discord.com/channels/595317990191398933/799437470004412476).
95+
Resource provisiong is currently in beta. Drop us a note in the [Cloudflare Developers Discord](https://discord.cloudflare.com/) in the [Wrangler channel](https://discord.com/channels/595317990191398933/799437470004412476) and tell us what you think.

0 commit comments

Comments
 (0)