/terraform-mongodb-cluster

Repository to prep services for terraform-mongodb-cluster

Primary LanguageHCLMIT LicenseMIT

inspec-test

Terraform MongoDB Atlas Cluster

This terraform module creates MongoDB Atlas Cluster

Usage:

module "mongodb" {
  source                   = "git::https://github.com/devops-adeel/terraform-mongodb-cluster.git?ref=v0.1.0"
  mongodb_atlas_project_id = var.project_id
  cluster_name             = "application-dev"
}

Requirements

No requirements.

Providers

Name Version
mongodbatlas n/a
random n/a

Modules

No modules.

Resources

Name Type
mongodbatlas_cluster.gcp resource
mongodbatlas_database_user.gcp resource
random_password.default resource
random_uuid.default resource

Inputs

Name Description Type Default Required
cluster_name MongoDB Cluster Name. string n/a yes
mongodb_atlas_project_id The ID of the MongoDB Atlas Project. string n/a yes

Outputs

Name Description
username MongoDB Username