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

Export-BicepChildResource - include or exclude certain resource types #324

Open
SebastianClaesson opened this issue Nov 9, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@SebastianClaesson
Copy link

Is your feature request related to a problem? Please describe.
Programatically wanting to export certain Azure resources as a bicep file, however I'd like to not include every child resource and instead be able to exclude or include certain types.

Describe the solution you'd like
The Export-BicepChildResource should include an array parameter to either include or exclude resource types specified, in that resource container.
Similiar to what Get-AzResource is doing:
image

@SebastianClaesson SebastianClaesson added the enhancement New feature or request label Nov 9, 2023
@SebastianClaesson SebastianClaesson changed the title Export-BicepChildResource - To only include/exclude certain resource types Export-BicepChildResource - include or exclude certain resource types Nov 9, 2023
@SimonWahlin
Copy link
Member

This is a great suggestion and something I've been meaning to implement when I can find time.

@Matthewsre
Copy link

Would this feature help provide a workaround for #323 ?

I've hit that issue and would like to exclude the roleAssignments to get past that issue and landed here.

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
None yet
Development

No branches or pull requests

3 participants