Skip to content

Dapr components using incorrect property for bicep deploy #874

@FullStackChef

Description

@FullStackChef

Describe the bug

deployment error based on current example project

...
(✓) Done: Container Apps Environment: caep27woutqja4vc (1m57.052s)
|=======| Creating/Updating resources
ERROR: error executing step command 'provision': deployment failed: error deploying infrastructure: deploying to subscription:

Deployment Error Details:
InvalidTemplate: Unable to process template language expressions for resource '/subscriptions/redacted****/resourceGroups/rg-dapr-test/providers/Microsoft.App/managedEnvironments/caep27woutqja4vc/daprComponents/statestore' at line '1' and column '4035'. 'The language expression property 'identity' doesn't exist, available properties are 'apiVersion, location, tags, properties, condition, deploymentResourceLineInfo, isConditionTrue, subscriptionId, resourceGroupName, scope, resourceId, referenceApiVersion, existing, onlyIfNotExists, isTemplateResource, isAction, isExtensibleResourceReference, provisioningOperation'.'
TraceID: a0cec9f8443b2a748fe0d8462dd5473e

Regression

No response

Steps to reproduce

run azd up

Expected behavior

deploys successfully

Screenshots

No response

IDE and version

VS 2022

IDE version

No response

Nuget packages


Additional context

No response

Help us help you

Yes, I'd like to be assigned to work on this item

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions