Need help with terraform-provider-mongodbatlas?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

akshaykarle
126 Stars 59 Forks Mozilla Public License 2.0 215 Commits 31 Opened issues

Description

Terraform provider for MongoDB Atlas

Services available

!
?

Need anything else?

Contributors list

terraform-provider-mongodbatlas

Build Status GitHub release codecov GitHub downloads

Terraform provider for MongoDB Atlas.

IMPORTANT NOTE - This provider is no longer under development.

Please use the official, verified Terraform MongoDB Atlas Provider: -Documentation -GitHub Repo

Requirements

  • Terraform 0.12.x
  • Go 1.12 (to build the provider plugin)

Installing the Provider

Follow the instructions to install it as 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.

Building the Provider

Clone and build the repository

go get github.com/akshaykarle/terraform-provider-mongodbatlas
make build

Updating the Provider

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.