forked from AaronForce1/terraform-aws-infrastructure-eks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
75 lines (61 loc) · 1.43 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
67
68
69
70
71
72
73
74
75
## -----------
## MODULE: EKS
## -----------
output "kubernetes-cluster-certificate-authority-data" {
value = module.eks.cluster_certificate_authority_data
}
output "kubernetes-cluster-id" {
value = module.eks.cluster_id
}
output "kubernetes-cluster-endpoint" {
value = module.eks.cluster_endpoint
}
output "kubernetes-cluster-auth" {
value = data.aws_eks_cluster_auth.cluster
sensitive = true
}
## -----------
## MODULE: VPC
## -----------
output "vpc_id" {
value = module.eks-vpc.vpc_id
}
output "private_subnet_ids" {
value = module.eks-vpc.private_subnets
}
output "private_subnets_cidr_blocks" {
value = {
ipv4 = module.eks-vpc.private_subnets_cidr_blocks
ipv6 = module.eks-vpc.private_subnets_ipv6_cidr_blocks
}
}
output "private_route_table_ids" {
value = module.eks-vpc.private_route_table_ids
}
output "public_subnet_ids" {
value = module.eks-vpc.public_subnets
}
output "public_subnets_cidr_blocks" {
value = {
ipv4 = module.eks-vpc.public_subnets_cidr_blocks
ipv6 = module.eks-vpc.public_subnets_ipv6_cidr_blocks
}
}
## -----------
## MODULE: subnet_addrs
## -----------
output "base_cidr_block" {
value = module.subnet_addrs.base_cidr_block
}
output "eks_managed_node_groups" {
value = module.eks.eks_managed_node_groups
}
## -----------
### Region and AWS Profile Checks
## -----------
output "aws_region" {
value = var.aws_region
}
output "aws_profile" {
value = var.aws_profile
}