Skip to content

Service bindings: provision and wire Azure services from azure.config.json #9

Description

@zpg6

Carrying forward the design from #6, which is closed until the platform under it settles.

The idea: declare a database, cache, or other Azure service in azure.config.json, and deploy provisions it and wires the connection settings into the function app.

Why #6 didn't merge as-is:

  • v0.2.0 rewrote src/deploy/index.ts under the branch
  • it modifies the bicep template at deploy time, and the Flex Consumption migration replaces that template
  • the getBinding runtime API is a large permanent surface to commit to before the platform floor is stable

Plan when picking this back up (after the v4 model + Flex work):

  1. Provisioning + env var wiring first; that's most of the value
  2. getBinding as a separate opt-in package, so the core adapter API stays small
  3. Bicep changes built on the Flex template, through the same validation as the rest of deploy

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions