https://github.com/nitrictech/mongodb-provider
Extended Nitric providers with MongoDB Atlas
https://github.com/nitrictech/mongodb-provider
mongodb nitric
Last synced: 2 months ago
JSON representation
Extended Nitric providers with MongoDB Atlas
- Host: GitHub
- URL: https://github.com/nitrictech/mongodb-provider
- Owner: nitrictech
- Created: 2024-05-10T06:08:10.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-16T03:35:55.000Z (about 2 years ago)
- Last Synced: 2025-03-02T00:28:19.377Z (over 1 year ago)
- Topics: mongodb, nitric
- Language: Go
- Homepage:
- Size: 97.2 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MongoDB Atlas Providers
Building the extension provider can be done with the following command (in each cloud directory):
```bash
make install
```
This will build the runtime provider and the deployment provider, packaging them together and saving it to `$HOME/.nitric/providers/mongo/{cloud-name}-0.0.1`.
To use the custom extension you can use the following stack configuration file. It requires you fill in the orgid to deploy your cluster to MongoDB Atlas.
```yaml
provider: custom/extension@0.0.1
region: us-east-1
orgid: xxxxxxxx
```
When using `nitric up` or `nitric down` you will need to have the following environment variables set. These will both be kept secret when deploying using Pulumi.
- MONGODB_ATLAS_PUBLIC_KEY
- MONGODB_ATLAS_PRIVATE_KEY