Azure-Samples / container-apps-store-api-microservice

Sample microservices solution using Azure Container Apps, Dapr, Cosmos DB, and Azure API Management
MIT License
340 stars 420 forks source link

Bicep deploy fails for ContainerApp image name #27

Closed jimlane closed 2 years ago

jimlane commented 2 years ago
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

ERROR: "code": "InvalidTemplateDeployment", "message": "The template deployment 'main' is not valid according to the validation procedure. The tracking id is 'af20d38b-1053-41f9-8b24-2a7b70cf54c2'. See inner errors for details."

Inner Errors: "code": "ValidationForMultipleResourcesFailed", "message": "Validation failed for multiple resources. Check 'Error.Details[]' for more information."

Inner Errors: "code": "ContainerAppImageRequired", "message": "Container with name 'python-app' must have an 'Image' property specified."

Inner Errors: "code": "ContainerAppImageRequired", "message": "Container with name 'go-app' must have an 'Image' property specified."

Inner Errors: "code": "ContainerAppImageRequired", "message": "Container with name 'node-app' must have an 'Image' property specified." Error: Error: az cli script failed.

Expected/desired behavior

Deployment succeeds

OS and Version?

Ubuntu 20.04.4 Runner Version: 2.294.0

kendallroden commented 2 years ago

Thanks for this. I ran into this in another sample and solved it so I will update this one accordingly in the next few min @jimlane

kendallroden commented 2 years ago

confirmed fix