Deploy to NIH Test #2
deploy.yml
on: workflow_dispatch
build-and-deploy
1m 8s
Annotations
3 errors and 4 warnings
build-and-deploy
WARNING: /home/runner/work/avdaccelerator-nih/avdaccelerator-nih/carml/1.3.0/Microsoft.Compute/virtualMachines/deploy.bicep(378,27) : Warning no-deployments-resources: Resource 'defaultTelemetry' of type 'Microsoft.Resources/deployments@2021-04-01' should instead be declared as a Bicep module. [https://aka.ms/bicep/linter/no-deployments-resources]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/carml/1.3.0/Microsoft.Compute/virtualMachines/deploy.bicep(420,13) : Warning BCP036: The property "type" expected a value of type "'None' | 'SystemAssigned' | 'SystemAssigned, UserAssigned' | 'UserAssigned' | null" but the provided value in source declaration "identity" is of type "'None' | 'SystemAssigned' | 'SystemAssigned,UserAssigned' | 'UserAssigned'". If this is an inaccuracy in the documentation, please report it to the Bicep Team. [https://aka.ms/bicep-type-issues]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/carml/1.3.0/Microsoft.Compute/virtualMachines/deploy.bicep(474,29) : Warning BCP036: The property "listeners" expected a value of type "WinRMListener[] | null" but the provided value is of type "object". If this is an inaccuracy in the documentation, please report it to the Bicep Team. [https://aka.ms/bicep-type-issues]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/carml/1.3.0/Microsoft.Compute/virtualMachines/deploy.bicep(485,9) : Warning use-resource-id-functions: If property "id" represents a resource ID, it must use a symbolic resource reference, be a parameter or start with one of these functions: extensionResourceId, guid, if, reference, resourceId, subscription, subscriptionResourceId, tenantResourceId. [https://aka.ms/bicep/linter/use-resource-id-functions]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/carml/1.3.0/Microsoft.Compute/virtualMachines/deploy.bicep(502,21) : Warning BCP036: The property "maxPrice" expected a value of type "int | null" but the provided value is of type "string". If this is an inaccuracy in the documentation, please report it to the Bicep Team. [https://aka.ms/bicep-type-issues]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/carml/1.3.0/Microsoft.Compute/virtualMachines/deploy.bicep(590,52) : Warning use-resource-symbol-reference: Use a resource reference instead of invoking function "reference". This simplifies the syntax and allows Bicep to better understand your deployment dependency graph. [https://aka.ms/bicep/linter/use-resource-symbol-reference]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/modules/networking/deploy.bicep(374,47) : Warning no-hardcoded-env-urls: Environment URLs should not be hardcoded. Use the environment() function to ensure compatibility across clouds. Found this disallowed host: "core.windows.net" [https://aka.ms/bicep/linter/no-hardcoded-env-urls]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/carml/1.3.0/Microsoft.Network/applicationSecurityGroups/deploy.bicep(24,27) : Warning no-deployments-resources: Resource 'defaultTelemetry' of type 'Microsoft.Resources/deployments@2021-04-01' should instead be declared as a Bicep module. [https://aka.ms/bicep/linter/no-deployments-resources]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/carml/1.3.0/Microsoft.Storage/storageAccounts/queueServices/queues/.bicep/nested_roleAssignments.bicep(86,9) : Warning BCP334: The provided value can have a length as small as 2 and may be too short to assign to a target with a configured minimum length of 3.
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/carml/1.3.0/Microsoft.Network/networkInterfaces/deploy.bicep(88,27) : Warning no-deployments-resources: Resource 'defaultTelemetry' of type 'Microsoft.Resources/deployments@2021-04-01' should instead be declared as a Bicep module. [https://aka.ms/bicep/linter/no-deployments-resources]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/carml/1.3.0/Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/deploy.bicep(17,27) : Warning no-deployments-resources: Resource 'defaultTelemetry' of type 'Microsoft.Re
|
build-and-deploy
ERROR: ***"code": "InvalidTemplateDeployment", "message": "The template deployment failed with multiple errors. Please see details for more information."***
Inner Errors:
***"code": "RequestDisallowedByPolicy", "target": "176879b2-10d9-566b-92de-1b6b79e3d9c3", "message": "Resource '176879b2-10d9-566b-92de-1b6b79e3d9c3' was disallowed by policy. Reasons: 'This action is out of compliance with the CIT STRIDES managed polices. Please contact [email protected] for more information.'. See error details for policy resource IDs.", "additionalInfo": [***"type": "PolicyViolation", "info": ***"evaluationDetails": ***"evaluatedExpressions": [***"result": "False", "expressionKind": "Field", "expression": "location", "path": "location", "targetValue": ["westus3", "westus2", "westus2stage", "westusstage", "westus", "westcentralus", "unitedstates", "southcentralusstage", "southcentralus", "northcentralus", "northcentralusstage", "global", "eastus2stage", "eastus2", "eastusstage", "eastus", "centralusstage", "centralus"], "operator": "In"***], "reason": "This action is out of compliance with the CIT STRIDES managed polices. Please contact [email protected] for more information."***, "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/nih-cit-cs-mg-core-az/providers/Microsoft.Authorization/policyDefinitions/482c003d-dcca-4f56-84b8-c5d4d2c9deb5", "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/nih-cit-cs-mg-core-az/providers/Microsoft.Authorization/policySetDefinitions/7b2e8843bc924a5684db6317", "policyDefinitionReferenceId": "Audit-Resource-Location_1", "policySetDefinitionName": "7b2e8843bc924a5684db6317", "policySetDefinitionDisplayName": "NIH-CIT-CS-Policy-Initiative", "policyDefinitionName": "482c003d-dcca-4f56-84b8-c5d4d2c9deb5", "policyDefinitionDisplayName": "Audit-Resource-Location", "policyDefinitionEffect": "deny", "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/nih-cit-cs-mg-core-az/providers/Microsoft.Authorization/policyAssignments/406e568102884fb88bc3f38b", "policyAssignmentName": "406e568102884fb88bc3f38b", "policyAssignmentDisplayName": "NIH-CIT-CS-Policy-Initiative", "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/nih-cit-cs-mg-core-az", "policyAssignmentParameters": ***, "policyExemptionIds": []***]***
Inner Errors:
***"code": "RequestDisallowedByPolicy", "target": "73f98a2e-aea3-5bf7-a6b9-7cdedc2e2d57", "message": "Resource '73f98a2e-aea3-5bf7-a6b9-7cdedc2e2d57' was disallowed by policy. Reasons: 'This action is out of compliance with the CIT STRIDES managed polices. Please contact [email protected] for more information.'. See error details for policy resource IDs.", "additionalInfo": [***"type": "PolicyViolation", "info": ***"evaluationDetails": ***"evaluatedExpressions": [***"result": "False", "expressionKind": "Field", "expression": "location", "path": "location", "targetValue": ["westus3", "westus2", "westus2stage", "westusstage", "westus", "westcentralus", "unitedstates", "southcentralusstage", "southcentralus", "northcentralus", "northcentralusstage", "global", "eastus2stage", "eastus2", "eastusstage", "eastus", "centralusstage", "centralus"], "operator": "In"***], "reason": "This action is out of compliance with the CIT STRIDES managed polices. Please contact [email protected] for more information."***, "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/nih-cit-cs-mg-core-az/providers/Microsoft.Authorization/policyDefinitions/482c003d-dcca-4f56-84b8-c5d4d2c9deb5", "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/nih-cit-cs-mg-core-az/providers/Microsoft.Authorization/policySetDefinitions/7b2e8843bc924a5684db6317", "policyDefinitionReferenceId": "Audit-Resource-Location_1", "policySetDefinitionName": "7b2e8843bc924a5684db6317", "policySetDefinitionDisplayName": "NIH-CIT-CS-Policy-Initiative", "policyDefinitionName": "482c003d-dcca-4f56-84b8-c5d4d2c9deb5", "policyDefinition
|
build-and-deploy
Deployment failed.
|
build-and-deploy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: azure/login@v1, azure/arm-deploy@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build-and-deploy
WARNING: /home/runner/work/avdaccelerator-nih/avdaccelerator-nih/carml/1.3.0/Microsoft.Compute/virtualMachines/deploy.bicep(378,27) : Warning no-deployments-resources: Resource 'defaultTelemetry' of type 'Microsoft.Resources/deployments@2021-04-01' should instead be declared as a Bicep module. [https://aka.ms/bicep/linter/no-deployments-resources]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/carml/1.3.0/Microsoft.Compute/virtualMachines/deploy.bicep(420,13) : Warning BCP036: The property "type" expected a value of type "'None' | 'SystemAssigned' | 'SystemAssigned, UserAssigned' | 'UserAssigned' | null" but the provided value in source declaration "identity" is of type "'None' | 'SystemAssigned' | 'SystemAssigned,UserAssigned' | 'UserAssigned'". If this is an inaccuracy in the documentation, please report it to the Bicep Team. [https://aka.ms/bicep-type-issues]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/carml/1.3.0/Microsoft.Compute/virtualMachines/deploy.bicep(474,29) : Warning BCP036: The property "listeners" expected a value of type "WinRMListener[] | null" but the provided value is of type "object". If this is an inaccuracy in the documentation, please report it to the Bicep Team. [https://aka.ms/bicep-type-issues]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/carml/1.3.0/Microsoft.Compute/virtualMachines/deploy.bicep(485,9) : Warning use-resource-id-functions: If property "id" represents a resource ID, it must use a symbolic resource reference, be a parameter or start with one of these functions: extensionResourceId, guid, if, reference, resourceId, subscription, subscriptionResourceId, tenantResourceId. [https://aka.ms/bicep/linter/use-resource-id-functions]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/carml/1.3.0/Microsoft.Compute/virtualMachines/deploy.bicep(502,21) : Warning BCP036: The property "maxPrice" expected a value of type "int | null" but the provided value is of type "string". If this is an inaccuracy in the documentation, please report it to the Bicep Team. [https://aka.ms/bicep-type-issues]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/carml/1.3.0/Microsoft.Compute/virtualMachines/deploy.bicep(590,52) : Warning use-resource-symbol-reference: Use a resource reference instead of invoking function "reference". This simplifies the syntax and allows Bicep to better understand your deployment dependency graph. [https://aka.ms/bicep/linter/use-resource-symbol-reference]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/modules/networking/deploy.bicep(374,47) : Warning no-hardcoded-env-urls: Environment URLs should not be hardcoded. Use the environment() function to ensure compatibility across clouds. Found this disallowed host: "core.windows.net" [https://aka.ms/bicep/linter/no-hardcoded-env-urls]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/carml/1.3.0/Microsoft.Network/applicationSecurityGroups/deploy.bicep(24,27) : Warning no-deployments-resources: Resource 'defaultTelemetry' of type 'Microsoft.Resources/deployments@2021-04-01' should instead be declared as a Bicep module. [https://aka.ms/bicep/linter/no-deployments-resources]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/carml/1.3.0/Microsoft.Storage/storageAccounts/queueServices/queues/.bicep/nested_roleAssignments.bicep(86,9) : Warning BCP334: The provided value can have a length as small as 2 and may be too short to assign to a target with a configured minimum length of 3.
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/carml/1.3.0/Microsoft.Network/networkInterfaces/deploy.bicep(88,27) : Warning no-deployments-resources: Resource 'defaultTelemetry' of type 'Microsoft.Resources/deployments@2021-04-01' should instead be declared as a Bicep module. [https://aka.ms/bicep/linter/no-deployments-resources]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/carml/1.3.0/Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/deploy.bicep(17,27) : Warning no-deployments-resources: Resource 'defaultTelemetry' of type 'Microsoft.Re
|
build-and-deploy
ERROR: ***"code": "InvalidTemplateDeployment", "message": "The template deployment failed with multiple errors. Please see details for more information."***
Inner Errors:
***"code": "RequestDisallowedByPolicy", "target": "176879b2-10d9-566b-92de-1b6b79e3d9c3", "message": "Resource '176879b2-10d9-566b-92de-1b6b79e3d9c3' was disallowed by policy. Reasons: 'This action is out of compliance with the CIT STRIDES managed polices. Please contact [email protected] for more information.'. See error details for policy resource IDs.", "additionalInfo": [***"type": "PolicyViolation", "info": ***"evaluationDetails": ***"evaluatedExpressions": [***"result": "False", "expressionKind": "Field", "expression": "location", "path": "location", "targetValue": ["westus3", "westus2", "westus2stage", "westusstage", "westus", "westcentralus", "unitedstates", "southcentralusstage", "southcentralus", "northcentralus", "northcentralusstage", "global", "eastus2stage", "eastus2", "eastusstage", "eastus", "centralusstage", "centralus"], "operator": "In"***], "reason": "This action is out of compliance with the CIT STRIDES managed polices. Please contact [email protected] for more information."***, "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/nih-cit-cs-mg-core-az/providers/Microsoft.Authorization/policyDefinitions/482c003d-dcca-4f56-84b8-c5d4d2c9deb5", "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/nih-cit-cs-mg-core-az/providers/Microsoft.Authorization/policySetDefinitions/7b2e8843bc924a5684db6317", "policyDefinitionReferenceId": "Audit-Resource-Location_1", "policySetDefinitionName": "7b2e8843bc924a5684db6317", "policySetDefinitionDisplayName": "NIH-CIT-CS-Policy-Initiative", "policyDefinitionName": "482c003d-dcca-4f56-84b8-c5d4d2c9deb5", "policyDefinitionDisplayName": "Audit-Resource-Location", "policyDefinitionEffect": "deny", "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/nih-cit-cs-mg-core-az/providers/Microsoft.Authorization/policyAssignments/406e568102884fb88bc3f38b", "policyAssignmentName": "406e568102884fb88bc3f38b", "policyAssignmentDisplayName": "NIH-CIT-CS-Policy-Initiative", "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/nih-cit-cs-mg-core-az", "policyAssignmentParameters": ***, "policyExemptionIds": []***]***
Inner Errors:
***"code": "RequestDisallowedByPolicy", "target": "73f98a2e-aea3-5bf7-a6b9-7cdedc2e2d57", "message": "Resource '73f98a2e-aea3-5bf7-a6b9-7cdedc2e2d57' was disallowed by policy. Reasons: 'This action is out of compliance with the CIT STRIDES managed polices. Please contact [email protected] for more information.'. See error details for policy resource IDs.", "additionalInfo": [***"type": "PolicyViolation", "info": ***"evaluationDetails": ***"evaluatedExpressions": [***"result": "False", "expressionKind": "Field", "expression": "location", "path": "location", "targetValue": ["westus3", "westus2", "westus2stage", "westusstage", "westus", "westcentralus", "unitedstates", "southcentralusstage", "southcentralus", "northcentralus", "northcentralusstage", "global", "eastus2stage", "eastus2", "eastusstage", "eastus", "centralusstage", "centralus"], "operator": "In"***], "reason": "This action is out of compliance with the CIT STRIDES managed polices. Please contact [email protected] for more information."***, "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/nih-cit-cs-mg-core-az/providers/Microsoft.Authorization/policyDefinitions/482c003d-dcca-4f56-84b8-c5d4d2c9deb5", "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/nih-cit-cs-mg-core-az/providers/Microsoft.Authorization/policySetDefinitions/7b2e8843bc924a5684db6317", "policyDefinitionReferenceId": "Audit-Resource-Location_1", "policySetDefinitionName": "7b2e8843bc924a5684db6317", "policySetDefinitionDisplayName": "NIH-CIT-CS-Policy-Initiative", "policyDefinitionName": "482c003d-dcca-4f56-84b8-c5d4d2c9deb5", "policyDefinition
|
build-and-deploy
Template validation failed.
|