-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathoutputs.tf
66 lines (51 loc) · 1.19 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
65
66
output "vpc_id" {
value = module.network.vpc_id
}
output "vpc_cidr" {
value = module.network.vpc_cidr
}
output "public_subnet_ids" {
value = module.network.public_subnet_ids
}
output "private_subnet_ids" {
value = module.network.private_subnet_ids
}
output "public_subnet_azs" {
value = module.network.public_subnet_azs
}
output "private_subnet_azs" {
value = module.network.private_subnet_azs
}
output "private_route_table_ids" {
value = module.network.private_route_table_ids
}
output "oidc_config_id" {
value = local.cluster_oidc_config_id
}
output "oidc_endpoint_url" {
value = local.cluster_oidc_endpoint_url
}
output "cluster_api_url" {
value = local.cluster_api_url
}
output "cluster_console_url" {
value = local.cluster_console_url
}
output "cluster_id" {
value = local.cluster_id
}
output "cluster_name" {
value = local.cluster_name
}
output "region" {
value = var.region
}
output "bastion_instance_id" {
value = var.private ? aws_instance.bastion_host[0].id : null
}
output "bastion_public_ip" {
value = (var.private && var.bastion_public_ip) ? aws_instance.bastion_host[0].public_ip : null
}
output "bastion_connectivity" {
value = local.bastion_output
}