Deploy AVD to NIH Environment #80
Deploy-Env.yml
on: workflow_dispatch
build-and-deploy
1m 47s
Annotations
3 errors and 4 warnings
build-and-deploy
WARNING: /home/runner/work/avdaccelerator-nih/avdaccelerator-nih/avm/1.0.0/res/storage/storage-account/main.bicep(69,7) : Warning no-unused-params: Parameter "managementPolicyRules" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/avm/1.0.0/res/storage/storage-account/main.bicep(108,7) : Warning no-unused-params: Parameter "queueServices" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/avm/1.0.0/res/storage/storage-account/main.bicep(111,7) : Warning no-unused-params: Parameter "tableServices" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/avm/1.0.0/res/storage/storage-account/main.bicep(283,23) : Warning no-deployments-resources: Resource 'avmTelemetry' of type 'Microsoft.Resources/deployments@2023-07-01' should instead be declared as a Bicep module. [https://aka.ms/bicep/linter/no-deployments-resources]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/avm/1.0.0/res/network/application-security-group/main.bicep(37,23) : Warning no-deployments-resources: Resource 'avmTelemetry' of type 'Microsoft.Resources/deployments@2023-07-01' should instead be declared as a Bicep module. [https://aka.ms/bicep/linter/no-deployments-resources]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/avm/1.0.0/ptn/authorization/role-assignment/modules/resource-group.bicep(53,28) : 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/avm/1.0.0/res/desktop-virtualization/application-group/main.bicep(71,23) : Warning no-deployments-resources: Resource 'avmTelemetry' of type 'Microsoft.Resources/deployments@2023-07-01' should instead be declared as a Bicep module. [https://aka.ms/bicep/linter/no-deployments-resources]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/avm/1.0.0/res/desktop-virtualization/application-group/main.bicep(112,20) : 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/avm/1.0.0/res/desktop-virtualization/application-group/main.bicep(113,21) : 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/avm/1.0.0/res/desktop-virtualization/application-group/main.bicep(115,27) : 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/avm/1.0.0/res/desktop-virtualization/application-group/main.bicep(116,29) : 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/avm/1.0.0/res/desktop-virtualization/application-group/main.bicep(117,21) : 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/avm/1.0.0/res/desktop-virtualization/application-group/main.bicep(118,17) : 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/avm/1.0.0/res/desktop-virtualization/application-group/main.bicep(119,18) : Warning use-safe-access: Use the safe access (.?) operator instead of checking object conte
|
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": "be2d3ebb-9b85-5722-9495-56331ae88df7", "message": "Resource 'be2d3ebb-9b85-5722-9495-56331ae88df7' 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": "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": "A
|
build-and-deploy
Error: Deployment 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/avm/1.0.0/res/storage/storage-account/main.bicep(69,7) : Warning no-unused-params: Parameter "managementPolicyRules" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/avm/1.0.0/res/storage/storage-account/main.bicep(108,7) : Warning no-unused-params: Parameter "queueServices" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/avm/1.0.0/res/storage/storage-account/main.bicep(111,7) : Warning no-unused-params: Parameter "tableServices" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/avm/1.0.0/res/storage/storage-account/main.bicep(283,23) : Warning no-deployments-resources: Resource 'avmTelemetry' of type 'Microsoft.Resources/deployments@2023-07-01' should instead be declared as a Bicep module. [https://aka.ms/bicep/linter/no-deployments-resources]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/avm/1.0.0/res/network/application-security-group/main.bicep(37,23) : Warning no-deployments-resources: Resource 'avmTelemetry' of type 'Microsoft.Resources/deployments@2023-07-01' should instead be declared as a Bicep module. [https://aka.ms/bicep/linter/no-deployments-resources]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/avm/1.0.0/ptn/authorization/role-assignment/modules/resource-group.bicep(53,28) : 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/avm/1.0.0/res/desktop-virtualization/application-group/main.bicep(71,23) : Warning no-deployments-resources: Resource 'avmTelemetry' of type 'Microsoft.Resources/deployments@2023-07-01' should instead be declared as a Bicep module. [https://aka.ms/bicep/linter/no-deployments-resources]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/avm/1.0.0/res/desktop-virtualization/application-group/main.bicep(112,20) : 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/avm/1.0.0/res/desktop-virtualization/application-group/main.bicep(113,21) : 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/avm/1.0.0/res/desktop-virtualization/application-group/main.bicep(115,27) : 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/avm/1.0.0/res/desktop-virtualization/application-group/main.bicep(116,29) : 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/avm/1.0.0/res/desktop-virtualization/application-group/main.bicep(117,21) : 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/avm/1.0.0/res/desktop-virtualization/application-group/main.bicep(118,17) : 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/avm/1.0.0/res/desktop-virtualization/application-group/main.bicep(119,18) : Warning use-safe-access: Use the safe access (.?) operator instead of checking object conte
|
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": "be2d3ebb-9b85-5722-9495-56331ae88df7", "message": "Resource 'be2d3ebb-9b85-5722-9495-56331ae88df7' 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": "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": "A
|
build-and-deploy
Template validation failed.
|