Skip to content
Discussion options

You must be logged in to vote

Based on the current local-deploy code and tests, the safe supported shape looks like: local .bicepparam -> local entrypoint .bicep with targetScope = 'local', and then that entrypoint can consume modules/extensions.

LocalDeployCommand.cs loads the semantic model from the .bicepparam using target and rejects the run unless that directly referenced .bicep has targetScope == local. The local-deploy docs and integration tests I found are all in that form (main.bicepparam using main.bicep).

So for your case, I would treat the local wrapper pattern as the supported one today: keep a local targetScope = 'local' entrypoint .bicep, and have that file reference the published artifact/module. I don…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@walr-nathan-driscoll
Comment options

Answer selected by walr-nathan-driscoll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants