https://github.com/akshaykarle/terraform-provider-mongodbatlas
Terraform provider for MongoDB Atlas
https://github.com/akshaykarle/terraform-provider-mongodbatlas
mongodb mongodb-atlas terraform terraform-provider
Last synced: 7 months ago
JSON representation
Terraform provider for MongoDB Atlas
- Host: GitHub
- URL: https://github.com/akshaykarle/terraform-provider-mongodbatlas
- Owner: akshaykarle
- License: mpl-2.0
- Created: 2018-01-05T01:24:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-10-04T22:15:42.000Z (almost 6 years ago)
- Last Synced: 2025-06-14T00:02:00.351Z (about 1 year ago)
- Topics: mongodb, mongodb-atlas, terraform, terraform-provider
- Language: Go
- Size: 8.2 MB
- Stars: 122
- Watchers: 16
- Forks: 53
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-provider-mongodbatlas
[](https://travis-ci.org/akshaykarle/terraform-provider-mongodbatlas)
[](https://github.com/akshaykarle/terraform-provider-mongodbatlas/releases)
[](https://codecov.io/gh/akshaykarle/terraform-provider-mongodbatlas)
[]()
Terraform provider for [MongoDB Atlas](https://www.mongodb.com/cloud/atlas).
### IMPORTANT NOTE - This provider is no longer under development.
Please use the official, verified Terraform MongoDB Atlas Provider:
-[Documentation](https://www.terraform.io/docs/providers/mongodbatlas/)
-[GitHub Repo](https://github.com/terraform-providers/terraform-provider-mongodbatlas/)
## Requirements
- [Terraform](https://www.terraform.io/downloads.html) 0.12.x
- [Go](https://golang.org/doc/install) 1.12 (to build the provider plugin)
## Installing the Provider
Follow the instructions to [install it as a plugin](https://www.terraform.io/docs/plugins/basics.html#installing-a-plugin). After placing it into your plugins directory, run `terraform init` to initialize it.
## Usage
```
# Configure the MongoDB Atlas Provider
provider "mongodbatlas" {
username = "${var.mongodb_atlas_username}"
api_key = "${var.mongodb_atlas_api_key}"
}
# Create a Cluster
resource "mongodbatlas_cluster" "test" {
# ...
}
```
Also look at the example under [/examples](/examples).
## Building the Provider
Clone and build the repository
```sh
go get github.com/akshaykarle/terraform-provider-mongodbatlas
make build
```
## Updating the Provider
```sh
go get -u github.com/akshaykarle/terraform-provider-mongodbatlas
make build
```
## Contributing
* Install project dependencies: `go get github.com/kardianos/govendor`
* Run tests: `make test`
* Build the binary: `make build`