-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnode_batch.tf
21 lines (20 loc) · 1.09 KB
/
node_batch.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module "batch_nodes" {
source = "./modules/clients"
min_clients = 0
max_clients = 6
desired_clients = 0
cluster_name = "batch"
ami = "${var.ami_id}"
instance_type = "t2.micro"
region = "${var.region}"
availability_zones = ["${var.region}a", "${var.region}b", "${var.region}c"]
subnet_ids = ["${module.vpc.private_subnets}"]
key_name = "${aws_key_pair.deployer.key_name}"
security_group_ids = ["${aws_security_group.ssh.id}", "${aws_security_group.hashi.id}", "${aws_security_group.registry.id}"]
iam_instance_profile_name = "${aws_iam_instance_profile.servers.name}"
ignition_user_ids = ["${data.ignition_user.ameissner.id}"]
ignition_group_ids = ["${data.ignition_group.ameissner.id}"]
ignition_systemd_ids = ["${data.ignition_systemd_unit.docker_tcp_socket.id}"]
ignition_file_ids = ["${data.ignition_file.etc_resolv.id}", "${data.ignition_file.docker_daemon.id}"]
target_group_arn = ""
}