Required changes ([AVM ref](https://azure.github.io/Azure-Verified-Modules/contributing/bicep/#directory-and-file-structure)) - [ ] Question: Should we add a `res` & `ptn` folder in the `modules` folder? - Background: Otherwise we only have 'constructs' to rely on which are (to this day) not supported by pipelines & tools - [x] #4182 - Rename folder into `e2e` - Move folder into a new `tests` folder - Update Initialize-Pipeline to support new test folder name - Update Pester tests to support new test folder name - Update reference to `main.bicep` in `main.test.bicep` - Update reference to `.shared/.scripts` - Update reference to `.shared/.templates` - [x] #4183 - Rename `min` test folder to `defaults` - Rename `common` test folder to `max` - Create duplication of `common/max` folder and name it `waf-aligned` (don't forget do update the serviceShort too - if possible) - [x] #4185 - [ ] Utilities (the following assumes to also update all scripts to be updated so they work with the folder structure of CARML (i.e., no avm folder) - Add `Set-AVMModule` utility (ref #4067) - Update `Set-ModuleReadMe` and related scripts - Relocate PSRule & `module.test.ps1` similar to AVM in the `utilities/pipelines` folder - Update `module.test.bicep` - Relocate template & script patterns similar to what we did in AVM (currently located in the `modules/.shared` folder
Required changes (AVM ref)
res&ptnfolder in themodulesfolder?e2etestsfoldermain.bicepinmain.test.bicep.shared/.scripts.shared/.templatesmintest folder todefaultscommontest folder tomaxcommon/maxfolder and name itwaf-aligned(don't forget do update the serviceShort too - if possible)e2e/defaultsand/or ae2e/waf-alignedtest #4185Set-AVMModuleutility (ref [Utilities] IntroducedSet-Modulescript #4067)Set-ModuleReadMeand related scriptsmodule.test.ps1similar to AVM in theutilities/pipelinesfoldermodule.test.bicepmodules/.sharedfolder