Describe the bug
for example the roleAssignments description ooften does not have a . (dot) at the end. This is only required for root modules but to be consistent we should follow the same for child modules
To reproduce
https://github.com/Azure/ResourceModules/blob/main/modules/Microsoft.AAD/DomainServices/.bicep/nested_roleAssignments.bicep#L24
Simple regex to solve this:
(^@(?:sys\.)?description.+[^\.])'\)
$1.')
Code snippet
@sys.description('Optional. The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase "foo_storage_container"')
Relevant log output
No response
Describe the bug
for example the roleAssignments description ooften does not have a
.(dot) at the end. This is only required for root modules but to be consistent we should follow the same for child modulesTo reproduce
https://github.com/Azure/ResourceModules/blob/main/modules/Microsoft.AAD/DomainServices/.bicep/nested_roleAssignments.bicep#L24
Simple regex to solve this:
(^@(?:sys\.)?description.+[^\.])'\)$1.')Code snippet
Relevant log output
No response