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

[feature] Support list vnets from subscription as a prompt #3129

Open
vhvb1989 opened this issue Dec 17, 2023 · 2 comments
Open

[feature] Support list vnets from subscription as a prompt #3129

vhvb1989 opened this issue Dec 17, 2023 · 2 comments

Comments

@vhvb1989
Copy link
Member

Make azd to offer a prompt for selecting a vnet by listing all available vnets from a subscription.

Use same pattern as listing resource groups during resource group deployment.

Add also a meta-value for bicep-param for vnet, similar to how the location meta-value is supported.

See context: #3120 (reply in thread)

@ellismg
Copy link
Member

ellismg commented Dec 18, 2023

I very much like this idea. It might be nice to expand this to support something like:

@metadata({azd: { type: 'resource', selector: '....' }}) where selector is some expression that allows folks to filter resources based on given types or other expressions?

It would be nice to leverage this in some unified way long term to support things like: "pick an existing database in your account to pass to this optional bicep parameter, or leave it blank so the infrastructure knows it needs to provision one".

@rajeshkamal5050 rajeshkamal5050 added this to the Backlog milestone Mar 6, 2024
@shaneholder
Copy link

It would be especially good if this applied to terraform templates as well, possibly using a commenting syntax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants