-
Notifications
You must be signed in to change notification settings - Fork 182
/
Copy pathoutput.tf
77 lines (63 loc) · 1.3 KB
/
output.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
output "master_external_ip" {
value = local.master_ip_public
}
output "cluster" {
value = var.cluster_name
}
output "master_local_ip" {
value = local.master_local_ip
}
output "node_type" {
value = var.node_type
}
output "worker_join" {
value = "s3://${local.worker_join}"
}
output "k8s_config" {
value = "s3://${local.k8s_config}"
}
output "k8_master_version" {
value = var.k8s_master.k8_version
}
output "master_ssh" {
value = "ssh ubuntu@${local.master_ip_public} password= ${random_string.ssh.result} "
}
output "eip" {
value = var.k8s_master.eip
}
output "check_node_status" {
value = "tail -f /var/log/cloud-init-output.log "
}
output "s3_k8s_config" {
value = local.k8s_config
}
output "worker_nodes" {
value = local.worker_nodes
}
output "ami_id_master" {
value = local.master_ami
}
output "master_instance_type" {
value = local.master_instance_type
}
output "worker_reload_bashrc" {
value = " source ~/.bashrc "
}
output "ec2_key" {
value = var.k8s_master.key_name
}
output "ssh_password" {
value = " ${random_string.ssh.result} "
}
output "hosts_worker_node" {
value = local.hosts_worker_node
}
output "hosts_master_node" {
value = local.hosts_master_node
}
output "hosts" {
value = local.hosts
}
output "ssh_password_enable" {
value = var.ssh_password_enable
}