Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 706 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 706 Bytes

DocumentDB Module

Terrform module to bootstrap a DocumentDB cluster.

Usage

module "db" {
  source = "../../modules/docdb"

  name = "examples-docdb-cluster"

  vpc_id       = module.vpc.vpc_id
  subnet_group = module.vpc.database_subnet_group

  db_name            = "db_name"
  db_master_username = "db_master_username"

  instance_class = "db.t3.medium"
  cluster_size   = 2
}

Module Documentation

The module documentation is generated with terraform-docs by running terraform-docs md . > ./docs/MODULE.md from the module directory.

You can also view the latest version of the module documentation here.