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

Allow dependsOn on existing resources #13596

Open
jeskew opened this issue Mar 12, 2024 · 0 comments
Open

Allow dependsOn on existing resources #13596

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.
In the ARM engine, the workaround for issues like #7402 is to declare explicit dependencies (via the dependsOn property) in the body of an existing resource declaration that corresponds to the resource on which the list* function will be called. Bicep currently disallows the dependsOn property in existing resources because such a declaration is nonsensical in non-symbolic name templates.

Describe the solution you'd like
Bicep should allow the use of dependsOn in existing resources, and the presence of any existing resources with explicit dependencies should result in Bicep using symbolic name compilation.

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