https://pulumi.com logo
#azure
Title
# azure
m

most-magician-78411

06/23/2023, 9:25 PM
Hello! I'm new to Pulumi w/ azure (usually used it with GCP). I'm having trouble finding the correct Pulumi method/objects for Cosmos DB for Mongodb vCore. It seems like it might be new? Is it available in the classic or the azure-native Pulumi providers? I can't seem to find it. Thanks in advance.
m

melodic-tomato-39005

06/24/2023, 1:44 AM
Note that Azure renamed DocumentDB to CosmosDB.
m

most-magician-78411

06/27/2023, 9:16 PM
Hi Thomas. This results in the CosmosDb for MongoDB but not the vCore version. https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/vcore/introduction looks like it's in preview so I"m guess there's no azure provider support yet.
m

melodic-tomato-39005

06/27/2023, 11:36 PM
It looks like Azure hasn’t added it to the API spec yet. The Bicep example on the page you linked uses API version 2022-10-15-preview, but there’s no such version. https://github.com/Azure/azure-rest-api-specs/tree/main/specification/cosmos-db/resource-manager/Microsoft.DocumentDB
m

most-magician-78411

06/27/2023, 11:38 PM
ah ok. that clarifies why it's not available in pulumi. thanks a lot!