Skip to content

ADefossez-Zenika/terraform-provider-mongodbatlas

 
 

Repository files navigation

terraform-provider-mongodbatlas

Build Status GitHub release codecov GitHub downloads

Terraform provider for MongoDB Atlas.

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

About

Terraform provider for MongoDB Atlas

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 91.7%
  • HTML 3.0%
  • Makefile 2.5%
  • Shell 2.1%
  • HCL 0.7%