https://pulumi.com logo
#dotnet
Title
f

fresh-lifeguard-12682

10/23/2020, 10:17 PM
How can I get the ConnectionString from a Cosmos DB (mongo) using
Pulumi.Azure.CosmosDB.GetAccountResult
? it looks like that only the MasterKey is in that object. However if I use
Pulumi.Azure.CosmosDB.Account
there is a
ConnectionStrings
property available. I cant use the last approach since I only have the
Account
available in the stack that creates the Cosmos Account, I have another stack calling the
GetAccountResult
which is the one that needs the Connection String.