Hi everyone! What do you think is the best way to seed data into a cosmos container after its creation? Would it make sense to use myContainer.Apply(c => /*use the azure SDK here to insert data*/)?
b
billowy-army-68599
04/02/2021, 7:27 PM
You could use a dynamic provider for this I think
g
glamorous-helmet-50600
04/02/2021, 7:43 PM
@billowy-army-68599 Thanks for the hint, unfortunately it's not available on the lang I'm using (c#)
b
billowy-army-68599
04/02/2021, 7:46 PM
ah sorry, yeah. Cosmos is mongo under the hood right?
g
glamorous-helmet-50600
04/02/2021, 7:51 PM
Yeah pretty much
Anyone got any idea on how I can put the seeding of a cosmos container as part of the pulumi run using C#?