-
Notifications
You must be signed in to change notification settings - Fork 0
/
eks_addons.tf
35 lines (31 loc) · 1.42 KB
/
eks_addons.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
###################################################################################
# AWS EKS Module Addons
###################################################################################
module "eks_blueprints_addons" {
count = var.use_existing_cluster ? 0 : 1
source = "aws-ia/eks-blueprints-addons/aws"
version = "1.16.3"
cluster_name = module.aws-eks-kubernetes-cluster[0].cluster_name
cluster_endpoint = module.aws-eks-kubernetes-cluster[0].cluster_endpoint
cluster_version = module.aws-eks-kubernetes-cluster[0].cluster_version
oidc_provider_arn = module.aws-eks-kubernetes-cluster[0].oidc_provider_arn
eks_addons = {
coredns = {
addon_version = var.cluster_addons_coredns_version
configuration_values = jsonencode(var.cluster_addons_coredns_additional_configurations)
}
vpc-cni = {
addon_version = var.cluster_addons_vpc_cni_version
configuration_values = jsonencode(var.cluster_addons_vpc_cni_additional_configurations)
}
kube-proxy = {
addon_version = var.cluster_addons_kube_proxy_version
configuration_values = jsonencode(var.cluster_addons_kube_proxy_additional_configurations)
}
eks-pod-identity-agent = {
addon_version = var.cluster_addons_eks_pod_identity_agent_version
configuration_values = jsonencode(var.cluster_addons_eks_pod_identity_agent_additional_configurations)
}
}
tags = local.tags
}