Skip to content

Commit 8866af6

Browse files
committed
image -> text
1 parent c87f267 commit 8866af6

File tree

3 files changed

+62
-2
lines changed

3 files changed

+62
-2
lines changed
Binary file not shown.

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

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,36 @@ You can now automatically create Cloudflare resources as part of your deployment
1010

1111
For more details, check out our [documentation](/workers/wrangler/automatic-resource-creation) on how to get started with automatic resource creation.
1212

13-
![automatic resource creation](~/assets/images/workers/platform/automatic-resource-creation.png)
13+
```bash
14+
$ wrangler deploy --x-provision
15+
⛅️ wrangler 3.109.0
16+
--------------------
17+
18+
Total Upload: 0.29 KiB / gzip: 0.22 KiB
19+
20+
The following bindings need to be provisioned:
21+
- KV Namespaces:
22+
- MY_KV
23+
- D1 Databases:
24+
- MY_D1
25+
- R2 Buckets:
26+
- MY_R2
27+
28+
...
29+
30+
🎉 All resources provisioned, continuing with deployment...
31+
32+
Your worker has access to the following bindings:
33+
- KV Namespaces:
34+
- MY_KV: ...
35+
- D1 Databases:
36+
- MY_D1: ...
37+
- R2 Buckets:
38+
- MY_R2: ...
39+
Uploaded my-worker
40+
Deployed my-worker triggers
41+
https://my-worker.workers.dev
42+
Current Version ID: ...
43+
```
1444

1545
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).

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

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,37 @@ When you're ready to deploy, run:
5959

6060
Upon deploy Wrangler will automatically create the resources that do not yet exist on your accound and bind them to your Worker.
6161

62-
![automatic resource creation](~/assets/images/workers/platform/automatic-resource-creation.png)
62+
```bash
63+
$ wrangler deploy --x-provision
64+
⛅️ wrangler 3.109.0
65+
--------------------
66+
67+
Total Upload: 0.29 KiB / gzip: 0.22 KiB
68+
69+
The following bindings need to be provisioned:
70+
- KV Namespaces:
71+
- MY_KV
72+
- D1 Databases:
73+
- MY_D1
74+
- R2 Buckets:
75+
- MY_R2
76+
77+
...
78+
79+
🎉 All resources provisioned, continuing with deployment...
80+
81+
Your worker has access to the following bindings:
82+
- KV Namespaces:
83+
- MY_KV: ...
84+
- D1 Databases:
85+
- MY_D1: ...
86+
- R2 Buckets:
87+
- MY_R2: ...
88+
Uploaded my-worker
89+
Deployed my-worker triggers
90+
https://my-worker.workers.dev
91+
Current Version ID: ...
92+
```
6393

6494
The newly created resource will be named with the format `<worker-name>-<binding-name>` by default.
6595

0 commit comments

Comments
 (0)