[WebToolsE2E][Aspire] When deploying eShop.web solution, running 'azd up' failed with: Property 'containers.name' has an invalid value 'EventBus'.
REGRESSION INFO: Not repro on Aspire 8.0.0-preview.2.23619.3
INSTALL STEPS
- Clean machine: Win11 x64 23h2 ENU
- Install VS 17.10 Preview 1 [latest build, includes Aspire 8.0.0-preview.3.24105.21 ]
- Apply NuGet Feeds
- Install Docker Desktop for Windows
REPRO STEPS
- Clone eShop repo from preview.3 branch
- Update NuGet.config to use the correct feeds
- Open eShop.web.slnf
- Build
- Right-click solution > Open Folder in File Explorer. In the opened folder, click any place > Open in Terminal
- Runing 'azd init', select 'Use code in the current directory' > Confirm and continue initializing my app, type a new environment name, press enter.
- When running azd init choose to expose 'webapp' to the Internet
- Run azd up to deploy to Azure
ACTUAL:
Deployment failed with error:
ERROR: deployment failed: failing invoking action 'provision', error deploying infrastructure: deploying to subscription:
Deployment Error Details: InvalidTemplateDeployment: The template deployment 'resources' is not valid according to the validation procedure. The tracking id is 'd3323b6c-c40f-4a5a-b958-66c36f5b762b'. See inner errors for details. ValidationForResourceFailed: Validation failed for a resource. Check 'Error.Details[0]' for more information. ContainerAppInvalidPropertyValue: Property 'containers.name' has an invalid value 'EventBus'. A value must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character. TraceID: 91b11fc21df8e36cdb25bb5b1b8ef017
EXPECTED Deploy successfully.