Deploy AVD to NIH Environment #93
Deploy-Env.yml
on: workflow_dispatch
build-and-deploy
53s
Annotations
1 error and 3 warnings
build-and-deploy
Error: Template validation failed.
|
build-and-deploy
The following actions use a deprecated Node.js version and will be forced to run on node20: azure/login@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build-and-deploy
WARNING: /home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/modules/azurePolicies/policyDefinitionsSubscriptions.bicep(65,104) : Warning use-safe-access: Use the safe access (.?) operator instead of checking object contents with the 'contains' function. [https://aka.ms/bicep/linter/use-safe-access]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/deploy-baseline-arpah.bicep(41,7) : Warning no-unused-params: Parameter "avdVmLocalUserName" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/deploy-baseline-arpah.bicep(45,7) : Warning no-unused-params: Parameter "avdVmLocalUserPassword" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/deploy-baseline-arpah.bicep(56,7) : Warning no-unused-params: Parameter "createIntuneEnrollment" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/deploy-baseline-arpah.bicep(63,7) : Warning no-unused-params: Parameter "securityPrincipalName" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/deploy-baseline-arpah.bicep(69,7) : Warning no-unused-params: Parameter "identityDomainGuid" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/deploy-baseline-arpah.bicep(72,7) : Warning no-unused-params: Parameter "avdDomainJoinUserName" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/deploy-baseline-arpah.bicep(76,7) : Warning no-unused-params: Parameter "avdDomainJoinUserPassword" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/deploy-baseline-arpah.bicep(76,40) : Warning secure-parameter-default: Secure parameters should not have hardcoded defaults (except for empty or newGuid()). [https://aka.ms/bicep/linter/secure-parameter-default]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/deploy-baseline-arpah.bicep(79,7) : Warning no-unused-params: Parameter "avdOuPath" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/deploy-baseline-arpah.bicep(86,7) : Warning no-unused-params: Parameter "avdHostPoolType" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/deploy-baseline-arpah.bicep(100,7) : Warning no-unused-params: Parameter "avdPersonalAssignType" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/deploy-baseline-arpah.bicep(107,7) : Warning no-unused-params: Parameter "avdHostPoolLoadBalancerType" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/deploy-baseline-arpah.bicep(110,7) : Warning no-unused-params: Parameter "hostPoolMaxSessions" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/deploy-baseline-arpah.bicep(116,7) : Warning no-unused-params: Parameter "avdHostPoolRdpProperties" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/deploy-baseline-arpah.bicep(128,7) : Warning no-unused-params: Parameter "existingVnetPrivateEndpointSubnetResourceId" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/deploy-baseline-ar
|
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": "978fe73c-a950-5c3c-91fd-2cc07835e99d", "message": "Resource '978fe73c-a950-5c3c-91fd-2cc07835e99d' was disallowed by policy. Reasons: 'This action is out of compliance with the CIT STRIDES managed polices. Please contact CITCloudServicesAzureSupport@mail.*** 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 CITCloudServicesAzureSupport@mail.*** 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": "64f66f7f-6438-503c-809e-cc88480dd2bd", "message": "Resource '64f66f7f-6438-503c-809e-cc88480dd2bd' was disallowed by policy. Reasons: 'This action is out of compliance with the CIT STRIDES managed polices. Please contact CITCloudServicesAzureSupport@mail.*** 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 CITCloudServicesAzureSupport@mail.*** 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": "A
|