-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathoutputs.tf
39 lines (30 loc) · 880 Bytes
/
outputs.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
output "cluster_id" {
value = rancher2_cluster.cluster.id
}
output "cluster_auth_endpoint" {
value = rancher2_cluster.cluster.cluster_auth_endpoint[0].fqdn
}
output "registration_command" {
value = rancher2_cluster.cluster.cluster_registration_token[0]["node_command"]
}
output "master_tags" {
value = local.master_tags
}
output "worker_tags" {
value = local.worker_tags
}
output "worker_instance_profile" {
value = aws_iam_instance_profile.cloud_provider_worker.arn
}
output "worker_instance_profile_name" {
value = aws_iam_instance_profile.cloud_provider_worker.name
}
output "worker_iam_role" {
value = aws_iam_role.cloud_provider_worker.arn
}
output "worker_security_groups" {
value = concat([aws_security_group.cluster.id], local.extra_worker_security_groups)
}
output "default_worker_security_group_id" {
value = aws_security_group.cluster.id
}