You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error example: Error: AZR-000166: ***splhcom001 failed Azure.Resource.UseTags. Azure resources should be tagged using a standard convention.
There are no modules where we need to add tags support. So the 2 scenarios are:
resource supporting tags but tags not used in test files
Azure resource not supporting tags
Add tags with values in test files for the following modules:
Microsoft.Compute/availabilitySets
Microsoft.Compute/diskEncryptionSets
Microsoft.Compute/disks
Microsoft.Compute/galleries
Microsoft.Compute/virtualMachines
Microsoft.Compute/virtualMachineScaleSets
Microsoft.ContainerInstance/containerGroups
Microsoft.DataProtection/backupVaults
Microsoft.HealthBot/healthBots
microsoft.insights/actionGroups
Microsoft.Insights/activityLogAlerts
Microsoft.Insights/components
Microsoft.Insights/metricAlerts
microsoft.insights/privateLinkScopes
Microsoft.Insights/scheduledQueryRules
Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies
Microsoft.Network/applicationSecurityGroups
Microsoft.Network/connections
Microsoft.Network/ddosProtectionPlans
Microsoft.Network/dnsResolvers
Microsoft.Network/firewallPolicies
Microsoft.Network/ipGroups
Microsoft.Network/loadBalancers
Microsoft.Network/localNetworkGateways
Microsoft.Network/networkInterfaces
Microsoft.Network/networkManagers
Microsoft.Network/networkWatchers
Microsoft.Network/privateDnsZones
Microsoft.Network/privateEndpoints
Microsoft.Network/privateLinkServices
Microsoft.Network/publicIPPrefixes
Microsoft.Network/routeTables
Microsoft.Network/virtualHubs
Microsoft.Network/virtualNetworks
Microsoft.Network/virtualWans
Microsoft.Network/vpnGateways
Microsoft.Resources/deploymentScripts
Microsoft.Resources/resourceGroups
Microsoft.ServiceFabric/clusters
Microsoft.SignalRService/webPubSub
Microsoft.Sql/servers
Microsoft.Storage/storageAccounts
Microsoft.Synapse/privateLinkHubs
Microsoft.VirtualMachineImages/imageTemplates
Microsoft.Web/connections
Microsoft.Web/staticSites https://github.com/Azure/ResourceModules/pull/2241/files can be used as a reference, the following code needs to be added:
tags: {
Environment: 'Non-Prod'
Role: 'DeploymentValidation' ----> there is no standard with TAGS, should we standardize?
}
Examples of other found tags:
tags: { purpose: 'test' }
Add resource or file path to exclusion because tags are not supported by the resource:
Microsoft.KubernetesConfiguration/extensions
Microsoft.KubernetesConfiguration/fluxConfigurations
Microsoft.ManagedServices/registrationAssignments
Microsoft.ManagedServices/registrationDefinitions
Microsoft.Management/managementGroups
Microsoft.OperationsManagement/solutions
Microsoft.PolicyInsights/remediations
The text was updated successfully, but these errors were encountered:
Rule Azure.Resource.UseTags
Error example: Error: AZR-000166: ***splhcom001 failed Azure.Resource.UseTags. Azure resources should be tagged using a standard convention.
There are no modules where we need to add tags support. So the 2 scenarios are:
resource supporting tags but tags not used in test files
Azure resource not supporting tags
Add tags with values in test files for the following modules:
Microsoft.Compute/availabilitySets
Microsoft.Compute/diskEncryptionSets
Microsoft.Compute/disks
Microsoft.Compute/galleries
Microsoft.Compute/virtualMachines
Microsoft.Compute/virtualMachineScaleSets
Microsoft.ContainerInstance/containerGroups
Microsoft.DataProtection/backupVaults
Microsoft.HealthBot/healthBots
microsoft.insights/actionGroups
Microsoft.Insights/activityLogAlerts
Microsoft.Insights/components
Microsoft.Insights/metricAlerts
microsoft.insights/privateLinkScopes
Microsoft.Insights/scheduledQueryRules
Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies
Microsoft.Network/applicationSecurityGroups
Microsoft.Network/connections
Microsoft.Network/ddosProtectionPlans
Microsoft.Network/dnsResolvers
Microsoft.Network/firewallPolicies
Microsoft.Network/ipGroups
Microsoft.Network/loadBalancers
Microsoft.Network/localNetworkGateways
Microsoft.Network/networkInterfaces
Microsoft.Network/networkManagers
Microsoft.Network/networkWatchers
Microsoft.Network/privateDnsZones
Microsoft.Network/privateEndpoints
Microsoft.Network/privateLinkServices
Microsoft.Network/publicIPPrefixes
Microsoft.Network/routeTables
Microsoft.Network/virtualHubs
Microsoft.Network/virtualNetworks
Microsoft.Network/virtualWans
Microsoft.Network/vpnGateways
Microsoft.Resources/deploymentScripts
Microsoft.Resources/resourceGroups
Microsoft.ServiceFabric/clusters
Microsoft.SignalRService/webPubSub
Microsoft.Sql/servers
Microsoft.Storage/storageAccounts
Microsoft.Synapse/privateLinkHubs
Microsoft.VirtualMachineImages/imageTemplates
Microsoft.Web/connections
Microsoft.Web/staticSites
https://github.com/Azure/ResourceModules/pull/2241/files can be used as a reference, the following code needs to be added:
Examples of other found tags:
tags: { purpose: 'test' }
Microsoft.KubernetesConfiguration/extensions
Microsoft.KubernetesConfiguration/fluxConfigurations
Microsoft.ManagedServices/registrationAssignments
Microsoft.ManagedServices/registrationDefinitions
Microsoft.Management/managementGroups
Microsoft.OperationsManagement/solutions
Microsoft.PolicyInsights/remediations
The text was updated successfully, but these errors were encountered: