Improve Bicep Module Structure #2783
-
Hi , I started looking at bicep modules , and i feel that it could do some improvement. The current bicep module refers to a "single" .bicep file and we have to refer to this file from the main.bicep file. Currently since modules can refer to a single bicep file, it will lead to either stacking up a lot of resources in a single bicep file, or we will end up creating a lot of modules ( module explosion) which eventually needs to be called from main.bicep file. What i suggest is to expand the scope of a module to a "folder" containing not 1 but multiple .bicep files ( just like HCL does it for terraform) which will stitched up together at runtime . This will allow us to split resources across multiple bicep files, and create modules which are more elaborate. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Do you have any sample bicep modules that you are using ? or more examples related to your question ? A few notes:
I am https://github.com/brwilkinson/AzureDeploymentFramework/tree/dev/ADF/bicep The main types of categories that I am using
|
Beta Was this translation helpful? Give feedback.
-
Here is the latest information on the Bicep Module Registry, this will be an alternate method to Publish/Share/Consume Bicep Modules |
Beta Was this translation helpful? Give feedback.
Hi @ranadeb-pramanick
Do you have any sample bicep modules that you are using ? or more examples related to your question ?
A few notes:
I am
currently
keeping all of my bicep files in a single directory and attempting to use a naming standard to differentiate the usage of each bicep file.ht…