Terraform module which creates an HA deployment of Rancher inside AWS using RanchHand.
Note: public IP support is currently unsupported and deprecated.
module "rancher" {
source = "github.com/dominodatalab/terraform-aws-rancher"
vpc_id = "vpc-id"
lb_cidr_blocks = ["0.0.0.0/0"]
lb_subnet_ids = ["public-subnet-id"]
subnet_ids = ["public-subnet-id"]
ssh_key_name = "domino-test"
provisioner_cidr_block = "67.80.87.241/32" # e.g. your IP addr
}
module "rancher" {
source = "github.com/dominodatalab/terraform-aws-rancher"
vpc_id = "vpc-id"
lb_cidr_blocks = ["0.0.0.0/0"]
lb_subnet_ids = ["public-subnet-id"]
subnet_ids = ["private-subnet-id"]
ssh_key_name = "domino-test"
ssh_proxy_user = "bastion"
ssh_proxy_host = "bastion-ip-addr"
ssh_key_path = "~/.ssh/domino-test.pem"
provisioner_security_group = "my-bastion-secgrp-id"
}
module "rancher" {
source = "github.com/dominodatalab/terraform-aws-rancher"
vpc_id = "vpc-id"
internal_lb = true
lb_security_groups = ["custom-node-secgrp-id"]
lb_subnet_ids = ["private-subnet-id"]
subnet_ids = ["different-private-subnet-id"]
ssh_key_name = "domino-test"
ssh_proxy_user = "bastion"
ssh_proxy_host = "bastion-ip-addr"
ssh_key_path = "~/.ssh/domino-test.pem"
provisioner_security_group = "my-bastion-secgrp-id"
}
Please submit any feature enhancements, bug fixes, or ideas via pull requests or issues.