Skip to content

Commit

Permalink
Update worker_script.md
Browse files Browse the repository at this point in the history
```
➜  terraform-test git:(main) ✗ terraform plan
╷
│ Error: Unsupported argument
│
│   on cloudflare.tf line 20, in resource "cloudflare_workers_script" "terraform-test":
│   20:   name       = "terraform-test"
│
│ An argument named "name" is not expected here.
```
  • Loading branch information
irvinebroque authored Jan 14, 2025
1 parent 8a39731 commit 6b442eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/resources/worker_script.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ resource "cloudflare_workers_kv_namespace" "my_namespace" {
# Sets the script with the name "script_1"
resource "cloudflare_worker_script" "my_script" {
account_id = "f037e56e89293a057740de681ac9abbe"
name = "script_1"
script_name = "script_1"
content = file("script.js")
kv_namespace_binding {
Expand Down

0 comments on commit 6b442eb

Please sign in to comment.