Skip to content

Some message output by azure cli needed to be configurable #5499

Closed

Description

Currently during deployment by azd deploy, it shows

Deploying <service_name> 
Packaging service <service_name>. 

The service_name must be one word specified in azure.yaml. In my case, the name I use is api_and_frontend which is weird. It would be great if I can customize the whole sentence. Alternatively, consider support spacing on the name.

Activity

  1. weikanglim commented on Aug 4, 2025

    @weikanglim
    Contributor

    Hey Howie Leung (@howieleung) ! This is an interesting scenario. This isn't something that has come up before, and it isn't something we're considering in the near term. I'm converting this to a Discussion for community weigh-in.

    The way I'm looking at this is that the service name is part of the CLI contract, for example: azd deploy app. Displaying the logical name in the output is extremely useful for these purposes. I would generally give the service names short and memorable. In our todo apps, we tend to use api and web.

    In your particular case where it's a single server serving both client-side and backend API, I could see it named as app. Simplifying this could help with the display confusion in the meantime.

  2. locked and limited conversation to collaborators on Aug 4, 2025
  3. converted this issue into a discussion #5562 on Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions