polite-kite-1832201/18/2022, 12:29 AM
pulumi config set MongoDB:mongodbatlas:orgID <org-id> error: invalid configuration key: could not parse MongoDB:mongodbatlas:orgID as a configuration key (configuration keys should be of the form `<namespace>:<name>`)
segments. Still not sure how to satisfy the tooling though 😞
echoing-dinner-1953101/18/2022, 10:21 AM
polite-kite-1832201/18/2022, 5:55 PM
error: 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.
I assumed it would use the values i'd embedded into the
export MONGODB_ATLAS_PUBLIC_KEY=XXXXXXXXXXXXXX export MONGODB_ATLAS_PRIVATE_KEY=YYYYYYYYYYYYYY
echoing-dinner-1953101/18/2022, 10:22 PM
Turns 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-1832201/19/2022, 12:36 AM