This repository has been archived by the owner on Jan 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
outputs.tf
64 lines (52 loc) · 1.82 KB
/
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
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
output "vpc_id" {
value = "${join("", data.aws_vpc.kops.*.id)}"
description = "Kops VPC ID"
}
output "private_subnet_ids" {
value = "${flatten(data.aws_subnet_ids.private.*.ids)}"
description = "Private subnets IDs in the VPC"
}
output "utility_subnet_ids" {
value = "${flatten(data.aws_subnet_ids.utility.*.ids)}"
description = "Utility submets IDs in the VPC"
}
output "bastion_security_group_arn" {
value = "${join("", data.aws_security_group.bastion.*.arn)}"
description = "Bastion server Security Group ARN "
}
output "bastion_security_group_id" {
value = "${join("", data.aws_security_group.bastion.*.id)}"
description = "Bastion server Security Group ID"
}
output "masters_security_group_arn" {
value = "${join("", data.aws_security_group.masters.*.arn)}"
description = "K8s masters Security Group ARN"
}
output "masters_security_group_id" {
value = "${join("", data.aws_security_group.masters.*.id)}"
description = "K8s masters Security Group ID"
}
output "masters_role_name" {
value = "${join("", data.aws_iam_role.masters.*.id)}"
description = "K8s nodes Security Group ARN"
}
output "masters_role_arn" {
value = "${join("", data.aws_iam_role.masters.*.arn)}"
description = "K8s nodes Security Group ID"
}
output "nodes_security_group_arn" {
value = "${join("", data.aws_security_group.nodes.*.arn)}"
description = "Kops masters Role name"
}
output "nodes_security_group_id" {
value = "${join("", data.aws_security_group.nodes.*.id)}"
description = "Kops masters Role ARN"
}
output "nodes_role_name" {
value = "${join("", data.aws_iam_role.nodes.*.id)}"
description = "Kops nodes Role name"
}
output "nodes_role_arn" {
value = "${join("", data.aws_iam_role.nodes.*.arn)}"
description = "Kops nodes Role ARN"
}