ancient-painter-14846
11/25/2020, 3:37 PM/subscriptions/*********-****-****-****-************/resourceGroups/rg-dev/providers/Microsoft.DocumentDB/databaseAccounts/regionalcosmos/apis/sql/databases/regionaldb/containers/dev
But if I do an az cosmos sql container list
, now this resource have the following ID:
/subscriptions/*********-****-****-****-************/resourceGroups/rg-dev/providers/Microsoft.DocumentDB/databaseAccounts/regionalcosmos/sqlDatabases/regionaldb/containers/dev
Because if this, I have the following error when trying to do a `pulumi up`:
ID was missing the 'sqlDatabases' element
Is there any way of fixing it? Maybe deleting from the state and re-importing it?tall-librarian-49374
11/25/2020, 3:42 PMpulumi state delete
and then import it with importId
.ancient-painter-14846
11/25/2020, 3:53 PM@pulumi/azure
version. Started having this problem this week, when I tried to change the TTL config of this resource.