sparse-intern-71089
01/18/2022, 12:29 AMpolite-kite-18322
01/18/2022, 6:37 AM:
segments. Still not sure how to satisfy the tooling though 😞echoing-dinner-19531
01/18/2022, 10:21 AMpolite-kite-18322
01/18/2022, 5:55 PMpolite-kite-18322
01/18/2022, 5:56 PMpolite-kite-18322
01/18/2022, 8:12 PMpolite-kite-18322
01/18/2022, 8:13 PMerror: Preview failed: refreshing urn:pulumi:mongo::mongo::mongodbatlas:index/project:Project::Center: 1 error occurred:
* error getting project(<projectid>): GET <https://cloud.mongodb.com/api/atlas/v1.0/groups/><projectid>: 401 (request "") You are not authorized for this resource.
polite-kite-18322
01/18/2022, 8:24 PMexport MONGODB_ATLAS_PUBLIC_KEY=XXXXXXXXXXXXXX
export MONGODB_ATLAS_PRIVATE_KEY=YYYYYYYYYYYYYY
I assumed it would use the values i'd embedded into the pulumi config
polite-kite-18322
01/18/2022, 8:49 PMpolite-kite-18322
01/18/2022, 8:49 PMechoing-dinner-19531
01/18/2022, 10:22 PMTurns out you must set the environment variables in order to do `pulumi import`:That sounds like a bug. I'm pretty sure even for import we should be loading the config and passing it to the provider. Can you raise an issue at https://github.com/pulumi/pulumi-mongodbatlas about that?
I don't see any way to inspect/provision MongoDB collections or databases?I don't think the provider (ours or the underlying terraform provider) has support for configuring the database data itself.
polite-kite-18322
01/19/2022, 12:36 AMpolite-kite-18322
01/19/2022, 12:36 AM