Azure / ResourceModules

This repository includes a CI platform for and collection of mature and curated Bicep modules. The platform supports both ARM and Bicep and can be leveraged using GitHub actions as well as Azure DevOps pipelines.
https://aka.ms/carml
MIT License
726 stars 459 forks source link

[Feature Request]: Minimize the number of 'modules' hardcoded occurrences #1581

Open eriqua opened 2 years ago

eriqua commented 2 years ago

Description

Related to #1127

Decrease the number of relative modules path (currently 'modules') hardcoded occurrences in the repository.

Suggestion: use a global variable to be leveraged by utilities, GitHub actions, ADO pipeline templates, global tests.

Hardcoded occurrences will stay for pipeline trigger paths due to how global variables are retrieved only after pipelines are triggered.

eriqua commented 2 years ago

Removing from upcoming release 0.7, will be worked on in the next one

rahalan commented 2 years ago

Also scripts, actions, .... should be scanned for hardcoded folder values and be replaced with a variable.