mongodb / terraform-provider-mongodbatlas

Terraform MongoDB Atlas Provider: Deploy, update, and manage MongoDB Atlas infrastructure as code through HashiCorp Terraform
https://registry.terraform.io/providers/mongodb/mongodbatlas
Mozilla Public License 2.0
230 stars 167 forks source link
atlas mongodb-atlas-provider mongodbatlas terraform terraform-provider

MongoDB Atlas Provider

Code Health Acceptance Tests

This is the repository for the Terraform MongoDB Atlas Provider, which allows one to use Terraform with MongoDB's Database as a Service offering, Atlas. Learn more about Atlas at https://www.mongodb.com/cloud/atlas

For general information about Terraform, visit the official website and the GitHub project page.

Support, Bugs, Feature Requests

Support for the Terraform MongoDB Atlas Provider is provided under MongoDB Atlas support plans. Please submit support questions within the Atlas UI. Support questions submitted under the Issues section of this repo will be handled on a "best effort" basis.

Bugs should be filed under the Issues section of this repo.

Feature requests can be submitted at https://feedback.mongodb.com/forums/924145-atlas - just select the Terraform plugin as the category or vote for an already suggested feature.

Requirements

Using the Provider

To use a released provider in your Terraform environment, run terraform init and Terraform will automatically install the provider. To specify a particular provider version when installing released providers, see the Terraform documentation on provider versioning.

Documentation about the provider specific configuration options can be found on the provider's website.

Preview Features

In order to use and/or test preview resources and datasources in this provider you'll need to set the environment variable MONGODB_ATLAS_ENABLE_PREVIEW to true.

export MONGODB_ATLAS_ENABLE_PREVIEW=true

Logs

To help with issues, you can turn on Logs with export TF_LOG=TRACE. Note: this is very noisy.

To export logs to file, you can use export TF_LOG_PATH=terraform.log

Supported OS and Architectures

As per HashiCorp's recommendations, we fully support the following operating system / architecture combinations:

We ship binaries but do not prioritize fixes for the following operating system / architecture combinations:

Troubleshooting

See Troubleshooting.

Developing the Provider

See our contributing guides.

Issues

Autoclose stale issues and PRs

One-click reproducible issues principle

Our support will prioritise issues that contain all the required information that follows the following principles:

Thanks

We'd like to thank Akshay Karle for writing the first version of a Terraform Provider for MongoDB Atlas and paving the way for the creation of this one.