Explorar o código

include the tmux module

Chris Mague %!s(int64=4) %!d(string=hai) anos
pai
achega
a384b34655
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  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" {