Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service binding configuration is missing in wrangler.toml documentation #4412

Closed
moooji opened this issue May 12, 2022 · 6 comments · Fixed by #4667
Closed

Service binding configuration is missing in wrangler.toml documentation #4412

moooji opened this issue May 12, 2022 · 6 comments · Fixed by #4667
Assignees
Labels
content:edit Request for content edits documentation Documentation edits

Comments

@moooji
Copy link

moooji commented May 12, 2022

Existing documentation URL(s)

Section that requires update

  • Configure wrangler.toml

What needs to change?

The shown wrangler.toml does not include entries for the new "service bindings" configuration

How should it change?

I wish I would know :)

@moooji moooji added content:edit Request for content edits documentation Documentation edits labels May 12, 2022
@janat08
Copy link
Contributor

janat08 commented May 14, 2022

How do I make service worker bindings via wrangler.toml?
it doesn't say that in configuring wrangler.toml docs or service docs I think.

@janat08
Copy link
Contributor

janat08 commented May 22, 2022

@deadlypants1973 a simple version posted here would be helpful.

@janat08
Copy link
Contributor

janat08 commented May 23, 2022

Will it be available for pages?

@jkup jkup assigned jkup and unassigned deadlypants1973 May 23, 2022
@deadlypants1973
Copy link
Contributor

deadlypants1973 commented May 25, 2022

@deadlypants1973 a simple version posted here would be helpful.

hi @janat08 ! thank you for submitting this issue, @jkup is working on drafting a pr for this.

@ackushiw-rialtic
Copy link

Looks like Wrangler doesn't support service bindings yet

As of January 2022, the dashboard is the only way to interact with Service environments. Support in Wrangler is coming in v2.1

https://github.com/cloudflare/cloudflare-docs/pull/3175/files#diff-c048c632319cf7a192f49cdc44d574fd6a6c02499ef66551c9441c07892f1de4R24

@jkup
Copy link
Contributor

jkup commented Jun 1, 2022

@ackushiw-rialtic Service Bindings (being able to communicate between Workers) is supported in Wrangler and I just need to update the docs!! Service Environments (being able to create staging or production environments and promote between them) is currently only supported in the Dashboard!

@jkup jkup closed this as completed in #4667 Jun 3, 2022
jkup added a commit that referenced this issue Jun 3, 2022
* [Workers] Add service binding config to wrangler.toml example fixes #4412

* fix typo

* Update content/workers/wrangler/configuration.md

Co-authored-by: Jacob M-G Evans <[email protected]>

Co-authored-by: Jacob M-G Evans <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content:edit Request for content edits documentation Documentation edits
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants