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):
- Provisioning + env var wiring first; that's most of the value
- getBinding as a separate opt-in package, so the core adapter API stays small
- Bicep changes built on the Flex template, through the same validation as the rest of deploy
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:
Plan when picking this back up (after the v4 model + Flex work):