Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Merge pull request #134 from Azure-Samples/deployment_update #10

Merge pull request #134 from Azure-Samples/deployment_update

Merge pull request #134 from Azure-Samples/deployment_update #10

Triggered via push June 13, 2024 06:21
Status Success
Total duration 51s
Artifacts

bicep-audit.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
build
Failed to expand bicep source '/home/runner/work/cosmosdb-chatgpt/cosmosdb-chatgpt/infra/main.test.bicep'. Exception calling "GetBicepResources" with "2" argument(s): "Unable to expand resources because the source file '/home/runner/work/cosmosdb-chatgpt/cosmosdb-chatgpt/infra/main.test.bicep' was not valid. An error occurred evaluating expression '[union(if(not(empty(parameters('appPrincipalId'))), createArray(reference(resourceId('Microsoft.Resources/deployments', 'nosql-role-assignment-app'), '2022-09-01').outputs.id.value, reference(resourceId('Microsoft.Resources/deployments', 'openai-role-assignment-read-app'), '2022-09-01').outputs), createArray()), if(not(empty(parameters('userPrincipalId'))), createArray(reference(resourceId('Microsoft.Resources/deployments', 'nosql-role-assignment-user'), '2022-09-01').outputs.id.value, reference(resourceId('Microsoft.Resources/deployments', 'openai-role-assignment-read-user'), '2022-09-01').outputs), createArray()))]' line 2243. Could not determine JSON object type for type PSRule.Rules.Azure.Data.Template.DeploymentValue+DeploymentOutputs."
build
One or more assertions failed. One or more errors occured.
build
Process completed with exit code 1.
build
Target object 'infra/main.test.bicep' has not been processed because no matching rules were found.