Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use symbolic name compilation if any explicit dependencies on existing resources are declared #13595

Open
jeskew opened this issue Mar 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jeskew
Copy link
Contributor

jeskew commented Mar 12, 2024

Is your feature request related to a problem? Please describe.
Resources are allowed to declare explicit dependencies (via the dependsOn property) on any resource, including existing resources. In symbolic name templates, this allows template authors to "gate" a resource deployment on whether a resource not included in the template exists (as requested in #10097); in non-symbolic name templates, however, the explicit dependency is silently dropped.

Describe the solution you'd like
If a template contains any explicit dependency on existing resources, Bicep should compile to a symbolic name template so that the dependency is retained in the ARM JSON template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants