BCPFR1 - Cross-Referencing Modules
Module owners MAY cross-references other modules to build either Resource or Pattern modules.
However, they MUST be referenced only by a public registry reference to a pinned version e.g. br/public:avm/[res|ptn|utl]/<publishedModuleName>:>version<
. They MUST NOT use local parent path references to a module e.g. ../../xxx/yyy.bicep
.
Although, child modules, that are children of the primary resources being deployed by the AVM Resource Module, MAY be specified via local child path e.g. child/resource.bicep
.
Modules MUST NOT contain references to non-AVM modules.