Skip to content

[Utilities] Implemented several improvments for readme script (#4134) #481

[Utilities] Implemented several improvments for readme script (#4134)

[Utilities] Implemented several improvments for readme script (#4134) #481

Triggered via push October 22, 2023 22:42
Status Failure
Total duration 5m 35s
Artifacts
Initialize pipeline
24s
Initialize pipeline
Module  /  Static validation
1m 53s
Module / Static validation
Matrix: Module / PSRule validation
Matrix: Module / Deployment validation
Module  /  Publishing
0s
Module / Publishing
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 6 warnings
Module / PSRule validation (.test/vnetPeering/main.test.bicep)
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/network/virtual-network/.test/vnetPeering/main.test.bicep'. Exception calling "GetBicepResources" with "2" argument(s): "Unable to expand resources because the source file '/home/runner/work/ResourceModules/ResourceModules/modules/network/virtual-network/.test/vnetPeering/main.test.bicep' was not valid. An error occurred evaluating expression '[and(not(empty(coalesce(parameters('lock'), createObject()))), not(equals(tryGet(parameters('lock'), 'kind'), 'None')))]' line 552. The parameter named 'lock' was not set or a defaultValue was defined."
Module / PSRule validation (.test/vnetPeering/main.test.bicep)
One or more assertions failed. One or more errors occured.
Module / PSRule validation (.test/vnetPeering/main.test.bicep)
Process completed with exit code 1.
Module / PSRule validation (.test/min/main.test.bicep)
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/network/virtual-network/.test/min/main.test.bicep'. Exception calling "GetBicepResources" with "2" argument(s): "Unable to expand resources because the source file '/home/runner/work/ResourceModules/ResourceModules/modules/network/virtual-network/.test/min/main.test.bicep' was not valid. An error occurred evaluating expression '[and(not(empty(coalesce(parameters('lock'), createObject()))), not(equals(tryGet(parameters('lock'), 'kind'), 'None')))]' line 443. The parameter named 'lock' was not set or a defaultValue was defined."
Module / PSRule validation (.test/min/main.test.bicep)
One or more assertions failed. One or more errors occured.
Module / PSRule validation (.test/min/main.test.bicep)
Process completed with exit code 1.
Module / PSRule validation (.test/common/main.test.bicep)
AZR-000263: ***nvncom001 failed Azure.VNET.UseNSGs. Virtual network (VNET) subnets should have Network Security Groups (NSGs) assigned.
Module / PSRule validation (.test/common/main.test.bicep)
AZR-000314: ***nvncom001 failed Azure.VNET.BastionSubnet. VNETs with a GatewaySubnet should have an AzureBastionSubnet to allow for out of band remote access to VMs.
Module / PSRule validation (.test/common/main.test.bicep)
AZR-000322: ***nvncom001 failed Azure.VNET.FirewallSubnet. Use Azure Firewall to filter network traffic to and from Azure resources.
Module / PSRule validation (.test/common/main.test.bicep)
One or more assertions failed. One or more rules reported failure.
Module / PSRule validation (.test/common/main.test.bicep)
Process completed with exit code 1.
Module / Static validation
[-] [network/virtual-network/subnet] Set-ModuleReadMe script should not apply any updates. 5.77s (5.77s|1ms)
Module / Static validation
Process completed with exit code 1.
Module / PSRule validation (.test/vnetPeering/main.test.bicep)
The option 'Execution.SuppressedRuleWarning' is deprecated and will be removed with PSRule v3. See http://aka.ms/ps-rule/deprecations for more detail.
Module / PSRule validation (.test/vnetPeering/main.test.bicep)
The option 'Execution.NotProcessedWarning' is deprecated and will be removed with PSRule v3. See http://aka.ms/ps-rule/deprecations for more detail.
Module / PSRule validation (.test/min/main.test.bicep)
The option 'Execution.SuppressedRuleWarning' is deprecated and will be removed with PSRule v3. See http://aka.ms/ps-rule/deprecations for more detail.
Module / PSRule validation (.test/min/main.test.bicep)
The option 'Execution.NotProcessedWarning' is deprecated and will be removed with PSRule v3. See http://aka.ms/ps-rule/deprecations for more detail.
Module / PSRule validation (.test/common/main.test.bicep)
The option 'Execution.SuppressedRuleWarning' is deprecated and will be removed with PSRule v3. See http://aka.ms/ps-rule/deprecations for more detail.
Module / PSRule validation (.test/common/main.test.bicep)
The option 'Execution.NotProcessedWarning' is deprecated and will be removed with PSRule v3. See http://aka.ms/ps-rule/deprecations for more detail.