workers-sdk icon indicating copy to clipboard operation
workers-sdk copied to clipboard

🚀 Feature Request: Automatically match up, or explicitly warn when not matching on, service binding environments

Open GregBrimble opened this issue 3 years ago • 0 comments
trafficstars

Describe the solution

Right now, we match on just the name of the service. It might be useful to either require users to run Worker A in environment E if they have a binding on Worker B such as:

name = "B"

services = [
  { binding = "MY_BINDING", service = "A", environment = "E" }
]

Or at least, warn if A is running under some environment other than E.

GregBrimble avatar Aug 03 '22 14:08 GregBrimble