Skip to content

error deploying service backend expecting only 1 resource but found 2 #2753

@hugokoopmans

Description

@hugokoopmans

We have synched our code to your latest release upstream, when i do a azd up i get:

Deploying services (azd deploy)

  (x) Failed: Deploying service backend

ERROR: error executing step command 'deploy --all': getting target resource: expecting only '1' resource tagged with 'azd-service-name: backend', but found '2'. Ensure a unique service resource is correctly tagged in your infrastructure configuration, and rerun provision

I find two tags in main.bicep one on line 498 and one on line 558

we do an azd up i an already deployed environment in azure.

please advise

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions