Will layered provisioning support layer specific hooks? #6184
Replies: 3 comments
-
|
@weikanglim @wbreza - Do you know? @ronaldbosma , thanks for starting the conversation about this use-case. |
Beta Was this translation helpful? Give feedback.
-
|
@ronaldbosma Thanks for starting the discussion! Layered provisioning is still pretty early, and it doesn’t yet support layer-specific hooks. Hooks today only run at the broader command level ( For the scenario you described—creating a service principal, generating a secret, storing it in Key Vault, and then deploying the next layer—I usually think of that as a small seeding workflow. While azd’s workflow model is still limited today (you can override You can achieve this with hooks, but you’ll want to keep the script idempotent so it doesn’t recreate secrets on every run. Workflows generally make this kind of setup easier to understand and maintain—especially once the workflow system expands. And if layer-level hooks would make your scenario easier, I’d really love to hear more about that. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @weikanglim. I am indeed using hooks at the moment to achieve my use case. This is my current setup:
Because both step I don't have experience with customizing azd's workflow, so I can't say if that would be a better fit. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've seen layered provisioning being mentioned in azure-dev-cli_1.19.0 and azure-dev-cli_1.21.2, but I didn't find any documentation on it yet.
I’m curious if it will be possible to define hooks between layers. My use case is:
Will this be possible?
Beta Was this translation helpful? Give feedback.
All reactions