https://pulumi.com logo
Title
f

fancy-nightfall-60106

09/07/2020, 8:24 AM
Refreshing CosmosDB container failes with:
refreshing urn:pulumi:<stack>::azure:cosmosdb/sqlContainer:SqlContainer::<container>: ID was missing the `sqlDatabases` element
I think the ID is referring to the ResourceId in Azure - and the format of a container Id is:
/subscriptions/<subscriptionid>/resourceGroups/<resourcegroup>/providers/Microsoft.DocumentDB/databaseAccounts/<accoutname>/apis/sql/databases/<db>/containers/<container>
There is not reference to "sqlDatabases" here and Im not sure how to proceed to get 'pulumi refresh' to run successfully. Im not quite sure when this error occured, but Im now using Pulumi.Azure 3.20 and Pulumi 2.9.1