Deploy AVD to NIH Environment #137
Deploy-Env.yml
on: workflow_dispatch
build-and-deploy
17m 3s
Annotations
3 errors and 2 warnings
build-and-deploy
WARNING: /home/runner/work/avdaccelerator-nih/avdaccelerator-nih/avm/1.0.0/res/network/ddos-protection-plan/main.bicep(38,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/workspace/main.bicep(63,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/host-pool/main.bicep(157,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/managed-identity/user-assigned-identity/main.bicep(48,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/managed-identity/user-assigned-identity/main.bicep(103,25) : 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/key-vault/vault/key/main.bicep(130,25) : 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/network/private-dns-zone/main.bicep(68,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/compute/virtual-machine/main.bicep(428,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/compute/virtual-machine/main.bicep(451,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/compute/virtual-machine/main.bicep(456,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/compute/virtual-machine/main.bicep(457,36) : 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/compute/virtual-machine/main.bicep(463,39) : 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/compute/virtual-machine/main.bicep(544,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/compu
|
build-and-deploy
ERROR: ***"status":"Failed","error":***"code":"DeploymentFailed","target":"/subscriptions/***/providers/Microsoft.Resources/deployments/deploy-baseline-arpah","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[***"code":"ResourceDeploymentFailure","target":"/subscriptions/***/providers/Microsoft.Resources/deployments/SH-Batch-0-20241104T173533Z","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[***"code":"DeploymentFailed","target":"/subscriptions/***/providers/Microsoft.Resources/deployments/SH-Batch-0-20241104T173533Z","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[***"code":"ResourceDeploymentFailure","target":"/subscriptions/***/resourceGroups/avd-nih-arpah-prod-use2-pool-compute/providers/Microsoft.Resources/deployments/SH-arpahavdp-0-0-20241104T175004Z","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[***"code":"DeploymentFailed","target":"/subscriptions/***/resourceGroups/avd-nih-arpah-prod-use2-pool-compute/providers/Microsoft.Resources/deployments/SH-arpahavdp-0-0-20241104T175004Z","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[***"code":"ResourceDeploymentFailure","target":"/subscriptions/***/resourceGroups/avd-nih-arpah-prod-use2-pool-compute/providers/Microsoft.Compute/virtualMachines/arpahavdp0001","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[***"code":"OverconstrainedZonalAllocationRequest","message":"Allocation failed. VM(s) with the following constraints cannot be allocated, because the condition is too restrictive. Please remove some constraints and try again. Constraints applied are:\n - Availability Zone\n - Networking Constraints (such as Accelerated Networking or IPv6)\n - VM Size\n"***]***]***]***]***]***,***"code":"ResourceDeploymentFailure","target":"/subscriptions/***/providers/Microsoft.Resources/deployments/SH-RemoteApp-0-20241104T173533Z","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[***"code":"DeploymentFailed","target":"/subscriptions/***/providers/Microsoft.Resources/deployments/SH-RemoteApp-0-20241104T173533Z","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[***"code":"ResourceDeploymentFailure","target":"/subscriptions/***/resourceGroups/avd-nih-arpah-prod-use2-pool-compute/providers/Microsoft.Resources/deployments/SH-arpahavdpra-0-0-20241104T175004Z","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[***"code":"DeploymentFailed","target":"/subscriptions/***/resourceGroups/avd-nih-arpah-prod-use2-pool-compute/providers/Microsoft.Resources/deployments/SH-arpahavdpra-0-0-20241104T175004Z","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[***"code":"ResourceDeploymentFailure","target":"/subscriptions/***/resourceGroups/avd-nih-arpah-prod-use2-pool-compute/providers/Microsoft.Compute/virtualMachines/arpahavdpra0001","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[***"code":"OverconstrainedZonalAllocationRequest","message":"Allocation f
|
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/network/ddos-protection-plan/main.bicep(38,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/workspace/main.bicep(63,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/workload/bicep/modules/avdSessionHosts/deploy-arpah.bicep(162,5) : Warning no-unused-vars: Variable "extensionDomainJoinConfig" is declared but never used. [https://aka.ms/bicep/linter/no-unused-vars]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/modules/avdSessionHosts/deploy-arpah.bicep(337,59) : 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/avm/1.0.0/res/desktop-virtualization/host-pool/main.bicep(157,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/managed-identity/user-assigned-identity/main.bicep(48,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/managed-identity/user-assigned-identity/main.bicep(103,25) : 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/key-vault/vault/key/main.bicep(130,25) : 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/network/private-dns-zone/main.bicep(68,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/storage/storage-account/file-service/share/modules/nested_roleAssignment.bicep(22,36) : Warning no-deployments-resources: Resource 'fileShare_roleAssignments' 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/avm/1.0.0/res/storage/storage-account/file-service/share/modules/nested_roleAssignment.bicep(38,16) : 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/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/storage/storage-account/main.bicep(69,7) : Warning no-unused-params: Parameter "managementPolic
|