Skip to content

Commit

Permalink
add coredns
Browse files Browse the repository at this point in the history
  • Loading branch information
George Scott committed Apr 23, 2024
1 parent eadd251 commit 2ed8356
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions modules/app_eks/add-ons.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resource "aws_iam_role" "oidc" {
assume_role_policy = data.aws_iam_policy_document.oidc_assume_role.json
}

resource "aws_eks_addon" "core-dns" {
resource "aws_eks_addon" "aws-efs-csi-driver" {
depends_on = [
aws_eks_addon.vpc-cni
]
Expand All @@ -37,7 +37,7 @@ resource "aws_eks_addon" "core-dns" {
resolve_conflicts = "OVERWRITE"
}

resource "aws_eks_addon" "ebs-csi" {
resource "aws_eks_addon" "aws-ebs-csi-driver" {
depends_on = [
aws_eks_addon.vpc-cni
]
Expand All @@ -47,6 +47,16 @@ resource "aws_eks_addon" "ebs-csi" {
resolve_conflicts = "OVERWRITE"
}

resource "aws_eks_addon" "coredns" {
depends_on = [
aws_eks_addon.vpc-cni
]
cluster_name = var.namespace
addon_name = "coredns"
addon_version = "v1.9.3-eksbuild.11"
resolve_conflicts = "OVERWRITE"
}

resource "aws_eks_addon" "kube-proxy" {
depends_on = [
aws_eks_addon.vpc-cni
Expand Down

0 comments on commit 2ed8356

Please sign in to comment.