Browse Source

include the tmux module

Chris Mague 4 years ago
parent
commit
a384b34655
1 changed files with 8 additions and 0 deletions
  1. 8 0
      main.tf

+ 8 - 0
main.tf

@@ -38,6 +38,14 @@ module "nodes" {
   }
 }
 
+module "tmux" {
+  source  = "../tfmodule-cloud-tmux"
+  ssh-key = "${var.vpc-name}.pem"
+  user    = "ubuntu"
+  nodes   = module.nodes.node-ips
+}
+
+
 # Start CP Redis Testernode
 
 resource "aws_instance" "re" {