Leverage substring for BCP335 for module deployment names #16806
-
|
When I compile a bicep file like the following it rightfully gives @minLength(1)
@maxLength(63)
param parameter string
module MyModule 'Modules/MyModule.bicep' = {
name: '${parameter}-${uniqueString(deployment().name)}'
scope: resourceGroup('mySubId', 'myRg)
params: {
}
}I have tried adding |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
@johnthcall this looks like a bug, so I think it's fair to raise an issue for it - we don't tend to triage discussion topics. By the way, as of Bicep 0.34.1, module names are optional (see https://github.com/Azure/bicep/releases/tag/v0.34.1) |
Beta Was this translation helpful? Give feedback.
@johnthcall this looks like a bug, so I think it's fair to raise an issue for it - we don't tend to triage discussion topics.
By the way, as of Bicep 0.34.1, module names are optional (see https://github.com/Azure/bicep/releases/tag/v0.34.1)