Deploy AVD to NIH Environment #2
Deploy-Env.yml
on: workflow_dispatch
build-and-deploy
3m 3s
Annotations
3 errors and 4 warnings
build-and-deploy
WARNING: /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/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/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(154,88) : 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/workload/bicep/deploy-baseline-arpah.bicep(505,5) : Warning no-unused-vars: Variable "varTimeZoneManagementPlane" is declared but never used. [https://aka.ms/bicep/linter/no-unused-vars]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/deploy-baseline-arpah.bicep(511,5) : Warning no-unused-vars: Variable "varZtManagedIdentityName" is declared but never used. [https://aka.ms/bicep/linter/no-unused-vars]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/deploy-baseline-arpah.bicep(977,30) : Warning no-deployments-resources: Resource 'telemetrydeployment' of type 'Microsoft.Resources/deployments@2024-03-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/deploy-baseline-arpah.bicep(1206,19) : Warning BCP321: Expected a value of type "string" but the provided value is of type "'premium' | 'standard' | null".
/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/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-a
|
build-and-deploy
ERROR: ***"code": "InvalidTemplate", "message": "Deployment template validation failed: 'The provided value for the template parameter 'deploymentEnvironment' is not valid. The value 'TEST' is not part of the allowed value(s): 'Dev,Test,Prod'.'.", "additionalInfo": [***"type": "TemplateViolation", "info": ***"lineNumber": 26, "linePosition": 24, "path": "properties.template.parameters.deploymentEnvironment.allowedValues"***]***
|
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/compute/disk-encryption-set/main.bicep(65,5) : Warning no-unused-vars: Variable "builtInRoleNames" is declared but never used. [https://aka.ms/bicep/linter/no-unused-vars]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/avm/1.0.0/res/compute/disk-encryption-set/main.bicep(99,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/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/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/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(154,88) : 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/workload/bicep/deploy-baseline-arpah.bicep(505,5) : Warning no-unused-vars: Variable "varTimeZoneManagementPlane" is declared but never used. [https://aka.ms/bicep/linter/no-unused-vars]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/deploy-baseline-arpah.bicep(511,5) : Warning no-unused-vars: Variable "varZtManagedIdentityName" is declared but never used. [https://aka.ms/bicep/linter/no-unused-vars]
/home/runner/work/avdaccelerator-nih/avdaccelerator-nih/workload/bicep/deploy-baseline-arpah.bicep(977,30) : Warning no-deployments-resources: Resource 'telemetrydeployment' of type 'Microsoft.Resources/deployments@2024-03-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/deploy-baseline-arpah.bicep(1206,19) : Warning BCP321: Expected a value of type "string" but the provided value is of type "'premium' | 'standard' | null".
/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/key-vault/vault/main.bicep(155,23) : Warning no-deployments-resources: Resource 'avmTelemetry' of type 'Micros
|
build-and-deploy
ERROR: ***"code": "InvalidTemplate", "message": "Deployment template validation failed: 'The provided value for the template parameter 'deploymentEnvironment' is not valid. The value 'TEST' is not part of the allowed value(s): 'Dev,Test,Prod'.'.", "additionalInfo": [***"type": "TemplateViolation", "info": ***"lineNumber": 26, "linePosition": 24, "path": "properties.template.parameters.deploymentEnvironment.allowedValues"***]***
|
build-and-deploy
Template validation failed.
|