瀏覽代碼

include the tmux module

Chris Mague 4 年之前
父節點
當前提交
a384b34655
共有 1 個文件被更改,包括 8 次插入0 次删除
  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" {