Skip to content

Improve Bicep Module Structure #2783

Discussion options

You must be logged in to vote

Hi @ranadeb-pramanick

Do you have any sample bicep modules that you are using ? or more examples related to your question ?

A few notes:

  • the main bicep file can have any name, it doesn't have to be called 'main.bicep'.
  • a module is just another bicep file. So you can either deploy the module directly or reference it from a parent bicep file.
  • you can keep multiple bicep files in the same directory, you don't need to nest them in their own directory.
  • you will have to find the best way to organize them to meet your project requirements.

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…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@brwilkinson
Comment options

@brwilkinson
Comment options

Answer selected by brwilkinson
Comment options

You must be logged in to vote
2 replies
@ranadeb-pramanick
Comment options

@brwilkinson
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants