Skip to content

cgomestw/tf-mongodb-replica

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TF Mongodb Replica

Terraform scripts for MongoDB Replica Cluster provisioning

Pre-requisites

  1. Install terraform 0.11.0
  2. Install awscli 1.14.2
  3. Install Python 3.6.1.

Manual steps Before Starting Deployment

  1. Generate a KeyPair and add the name of the KeyPair in variables.tf file.
  2. Get the pem file and place it in the project folder with 660 permission to be used by terraform to ssh and execute startup scripts
  3. Execute aws configure to configure your credencials to be used by Terraform
  4. Edit all the files with name variables.tf with your personal configuration

Validate the Deployment

terraform init terraform workspace new terraform get terraform plan

Start Deployment

terraform apply

Destroy all Resources

terraform destroy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published