abundant-architect-88357
11/06/2024, 10:01 AM# Create a Managed User-Assigned Identity
userAssignedIdentity:
type: azure-native:managedidentity:UserAssignedIdentity
properties:
resourceGroupName: ${resourceGroup.name}
resourceName: ${baseName}-${github-environment}-uai
# Create a Web App
webApp:
type: azure-native:web:WebApp
properties:
name: ${baseName}-${github-environment}-wa
resourceGroupName: ${resourceGroup.name}
serverFarmId: ${appServicePlan.id}
kind: app,linux
identity:
type: UserAssigned
userAssignedIdentities:
"${userAssignedIdentity.id}": {}
When I run pulumi up, I get:
panic: interface conversion: ast.Expr is *ast.SymbolExpr, not *ast.StringExpr
Can anyone spot the problem?
Thanx in advance, Gunnartall-librarian-49374
11/06/2024, 10:09 AMuserAssignedIdentities
should be an array not a dictionary
https://www.pulumi.com/registry/packages/azure-native/api-docs/web/webapp/#userassignedidentities_yamlabundant-architect-88357
11/06/2024, 11:20 AM