https://pulumi.com logo
n

nice-application-79035

06/27/2023, 9:15 PM
Hello, I created the database account using https://www.pulumi.com/registry/packages/azure-native/api-docs/documentdb/databaseaccount/. Is it possible to insert documents/data into CosmosDb via pulumi? Thank you in advance!
b

billowy-army-68599

06/27/2023, 9:30 PM
if you use CosmosDB Postgres, you can use their respective provider: https://www.pulumi.com/registry/packages/postgresql/ However, you’ll need direct network connectivity to the database for it to work
n

nice-application-79035

06/27/2023, 10:27 PM
Hi @billowy-army-68599, thank you for your reply. I am using Global document DB NoSQL API if that makes any difference.
b

billowy-army-68599

06/27/2023, 10:28 PM
i don’t believe there’s a provider for that, unfortunately
n

nice-application-79035

06/27/2023, 10:33 PM
ok! Thank you