Open MariusStorhaug opened 1 year ago
Is there any resolution to this?
This is present in web\sites\hosting-environment as well
Hey @eriqua, however we solve this - this should then also be consider for BRM if we ever get to publish child-modules.
There may be a fast workaround by updating the publishing in CARML to replace the --
with something that is allowed. However, I believe the 'correct' yet more intense solution would be to stop having different child-modules for the same sub-resource-type and instead have one with a corresponding User-Defined-Type interface for each collection of properties based on a discriminator. By now, this feature was added to the Bicep language, so we could implement it.
@AlexanderSehr sounds fair. Not sure what should be the best place for this issue though. l'd like to avoid implementing a convention in CARML and changing that later to align to BRM once we get to publishing children. I'm almost inclined to put this on hold until defining the convention in AVM. Meanwhile nothing prevents to test a possible implementation of course, but I wouldn't merge to main yet.
Describe the bug
Modules with a name containing '--' seems to be failing the publishing step as the ACR repos do not allow for consecutive
'.', '_' or '-'
characters.From: https://github.com/Azure/ResourceModules/actions/runs/5811199687/job/15754407806#step:4:610
2 tasks:
To reproduce
Review the Digital Twins pipeline
Code snippet
No response
Relevant log output
No response