-
Notifications
You must be signed in to change notification settings - Fork 49
Closed
Description
It seems like there is an issue with array handling / type casting. Please let me know if I should open a separate issue, but I Think this may be related to these recent changes again...
Now I am getting an error when trying to deploy single region hub and spoke networking. Issue happens with no edits made to code outside of the accelerator. I have tried using "latest" versions and various old versions of bootstrap/starter modules, which leads me to believe the issue is in the accelerator or the powershell module.
/azp/agent/_work/1/s/infra-as-code/bicep/modules/hubNetworking/hubNetworking.bicep(810,17) : Warning BCP187: The property "activeActive" does not exist in the resource or type definition, although it might still be valid. If this is a resource type definition inaccuracy, report it using https://aka.ms/bicep-type-issues. [https://aka.ms/bicep/core-diagnostics#BCP187] /azp/agent/_work/1/s/infra-as-code/bicep/modules/hubNetworking/hubNetworking.bicep(814,31) : Warning BCP187: The property "ipConfigurationActiveActiveName" does not exist in the resource or type definition, although it might still be valid. If this is a resource type definition inaccuracy, report it using https://aka.ms/bicep-type-issues. [https://aka.ms/bicep/core-diagnostics#BCP187] /azp/agent/_work/1/s/infra-as-code/bicep/modules/hubNetworking/hubNetworking.bicep(817,58) : Warning BCP318: The value of type "module | null" may be null at the start of the deployment, which would cause this access expression (and the overall deployment with it) to fail. [https://aka.ms/bicep/core-diagnostics#BCP318] /azp/agent/_work/1/s/infra-as-code/bicep/modules/hubNetworking/hubNetworking.bicep(974,72) : Warning BCP318: The value of type "module | null" may be null at the start of the deployment, which would cause this access expression (and the overall deployment with it) to fail. [https://aka.ms/bicep/core-diagnostics#BCP318] /azp/agent/_work/1/s/infra-as-code/bicep/modules/hubNetworking/hubNetworking.bicep(983,70) : Warning BCP318: The value of type "module | null" may be null at the start of the deployment, which would cause this access expression (and the overall deployment with it) to fail. [https://aka.ms/bicep/core-diagnostics#BCP318] /azp/agent/_work/1/s/infra-as-code/bicep/modules/hubNetworking/hubNetworking.bicep(1025,72) : Warning BCP318: The value of type "module | null" may be null at the start of the deployment, which would cause this access expression (and the overall deployment with it) to fail. [https://aka.ms/bicep/core-diagnostics#BCP318] /azp/agent/_work/1/s/infra-as-code/bicep/modules/hubNetworking/hubNetworking.bicep(1063,31) : Warning BCP318: The value of type "Microsoft.Network/azureFirewalls | null" may be null at the start of the deployment, which would cause this access expression (and the overall deployment with it) to fail. [https://aka.ms/bicep/core-diagnostics#BCP318] /azp/agent/_work/1/s/infra-as-code/bicep/modules/hubNetworking/hubNetworking.bicep(1117,21) : Warning BCP318: The value of type "Microsoft.Network/azureFirewalls | null" may be null at the start of the deployment, which would cause this access expression (and the overall deployment with it) to fail. [https://aka.ms/bicep/core-diagnostics#BCP318] /azp/agent/_work/1/s/infra-as-code/bicep/modules/hubNetworking/hubNetworking.bicep(1124,26) : Warning BCP318: The value of type "module | null" may be null at the start of the deployment, which would cause this access expression (and the overall deployment with it) to fail. [https://aka.ms/bicep/core-diagnostics#BCP318] /azp/agent/_work/1/s/infra-as-code/bicep/modules/hubNetworking/hubNetworking.bicep(1128,28) : Warning BCP318: The value of type "module | null" may be null at the start of the deployment, which would cause this access expression (and the overall deployment with it) to fail. [https://aka.ms/bicep/core-diagnostics#BCP318] /azp/agent/_work/1/s/infra-as-code/bicep/CRML/customerUsageAttribution/cuaIdResourceGroup.bicep(1,1) : Info Bicep Linter Configuration: Custom bicepconfig.json file found (/azp/agent/_work/1/s/infra-as-code/bicep/bicepconfig.json). /azp/agent/_work/1/s/infra-as-code/bicep/modules/publicIp/publicIp.bicep(1,1) : Info Bicep Linter Configuration: Custom bicepconfig.json file found (/azp/agent/_work/1/s/infra-as-code/bicep/bicepconfig.json). VERBOSE: Performing the operation "Creating Deployment" on target "rg-alz-connectivity". 1:21:02 AM - Error: Code=InvalidTemplate; Message=Deployment template language expression evaluation failed: 'Evaluation result of language expression '1' is type 'String', expected type is 'Array'.'. Please see https://aka.ms/arm-functions for usage details. Deployment failed with exception, this is likely an intermittent failure so entering retry loop... Write-Error: Deployment failed after 10 attempts...
Metadata
Metadata
Assignees
Labels
No labels