I am working on an initial rollout of an ALZ ES deployment, and have deployed the bootstrap into our organizations' Azure DevOps org.
As I've been preparing and working on some aspects/components of our platform repo though, I came across something in the bootstrapped files, that I think is a bug, but I'm questioning if I'm just missing something given the actual usage of these repos' and questioning if there's something I'm not seeing.
I've also double checked with a few different AI's (OAI Astra, OAI Sol, Google Gemini) and they seem to think this is a defect, but I'm still feeling like I'm not seeing something (or maybe there's a PWSH quirk for it being the way it is):
https://github.com/Azure/accelerator-bootstrap-modules/blob/7887040f5e865ba134b4108aeac7b83a397a0d5c/alz/azuredevops/pipelines/bicep/templates/ci-template.yaml#L30
script: | $output = @() Get-ChildItem -Recurse -Filter '*.bicep' -Exclude '*.bicep' | Where-Object { $_.FullName -notlike "*\.bicep\*" } | ForEach-Object { Write-Information…