Simple MongoDB instance

Terraform scripts to create a simple MongoDB instance using the module mongodb.

To create a simple MongoDB instance on your local machine:

terraform init
terraform plan
terraform apply

To delete all resource:

terraform destroy

Requirements

Name

Version

terraform

>= 1.0

helm

>= 2.10.1, < 3.0.0

kubernetes

>= 2.21.1

Providers

No providers.

Modules

Name

Source

Version

simple_mongodb_instance

../../

n/a

Resources

No resources.

Inputs

Name

Description

Type

Default

Required

kube_config_path

The kubernetes configuration file path you want to specify

string

"~/.kube/config"

no

namespace

Namespace of ArmoniK resources

string

"default"

no

Outputs

Name

Description

endpoints

Endpoints of MongoDB

host

Hostname or IP address of MongoDB server

number_of_replicas

Number of replicas of MongoDB

port

Port of MongoDB server

url

URL of MongoDB server

user_credentials

User credentials of MongoDB