Ben Wilkinson

Results 107 comments of Ben Wilkinson

yes, that makes sense. In the same file. I do that for the NSG's. https://github.com/brwilkinson/AzureDeploymentFramework/blob/main/ADF/bicep/VNET.bicep#L102 Here is the separate NSG template: https://github.com/brwilkinson/AzureDeploymentFramework/blob/main/ADF/bicep/NSG.bicep

@farroar Right, 😊 did you mean this part? In this part i always have a 1 to 1 map between NSG and subnet, so loop over the same object array,...

Is this still outstanding, I thought there were some linting rules that detect syntax that is not compatible with constrained language mode? I guess not.

Did we start consider about this implementation so far? There is a lot of duplication for basic tasks like assigning policies or role assignments based on having to provide the...

Also, there were some comments about this being enabled with preview feature `resourceTypedParamsAndOutputs` that is now available, so perhaps there is some testing around this that I can consider...?!

It appears that we have both of below, so perhaps we can consolidate to track in single issue? - https://github.com/Azure/bicep/issues/4698 - https://github.com/Azure/bicep/issues/10131

It would be nice if the Module simply inherited the Scope from the parent Module as the default. Then you only specify `targetScope =` when you are changing scope when...

@BigRollTide You might be able to use this syntax - https://github.com/Azure/bicep/issues/10419#issuecomment-1507708535

@BigRollTide I see, in that case we have a separate workaround. Works on any scope: ![image](https://user-images.githubusercontent.com/3605266/234096590-c5a2595a-2c74-49ce-b2eb-1cf3001c9a9c.png) https://github.com/brwilkinson/AzureDeploymentFramework/blob/dev/ADF/bicep/KV-KeyVault.bicep#L173 Just take the `resourceId: KV.id` Example of usage: ```bicep module RBAC 'x.RBAC-ALL.bicep' =...