Skip to content

easyInit: service names with too long names results in image name collision #4433

Description

@weikanglim

I ran azd init on two service directories:

  • azure-ai-router-api
  • azure-ai-router-web

In the bicep file generated, I notice the truncation:

module azureAiRouterApi './app/azure-ai-router-api.bicep' = {
  name: 'azure-ai-router-api'
  params: {
    name: '${abbrs.appContainerApps}azure-ai-rou-${resourceToken}'
module azureAiRouterWeb './app/azure-ai-router-web.bicep' = {
  name: 'azure-ai-router-web'
  params: {
    name: '${abbrs.appContainerApps}azure-ai-rou-${resourceToken}'

This results in an error when running azd up:

Cannot modify a container app '' because there is an active provisioning operation in progress.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions