Allow nested inline templates to be compiled into single file, instead of several
Open
enhancement
Needs: Upvote
- Dominant language
- Bicep
- Stars
- 3.6k
- Forks
- 830
- Avg merge
- 1d 21m
- Merged PRs (30d)
- 79
Description
**Is your feature request related to a problem? Please describe.**
In order to power the bicep decompile API, we need to be able to handle nested inline templates when decompiling without requiring the user to handle several files. This is primarily to support two portal integrations:
1. Export resource as Bicep
2. Download template for automation as Bicep
A couple of potential solutions:
* "inline" modules which have already been proposed before (but I can't find the issue...)
* return a zip file instead of a `.bicep` file
* generate a resource of type `microsoft.resources/deployments` instead of generating a module (not a good option)
Contributor guide
Assessment
This issue has not been assessed yet.