Skip to content

Commit

Permalink
Merge pull request #15 from ministryofjustice/ANPL-1225
Browse files Browse the repository at this point in the history
feat: add EBS CSI add-on
  • Loading branch information
bogdan-mania-moj authored Oct 10, 2022
2 parents cba1e43 + 1dc5446 commit 4b8e224
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions addons.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,13 @@ resource "aws_eks_addon" "vpc_cni" {
cluster_name = module.eks.cluster_id
resolve_conflicts = "OVERWRITE"
}

resource "aws_eks_addon" "ebs_csi" {
depends_on = [
module.eks
]
addon_name = "ebs-csi"
addon_version = var.cluster_ebs_csi_version
cluster_name = module.eks.cluster_id
resolve_conflicts = "OVERWRITE"
}
5 changes: 5 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ variable "cluster_vpc_cni_version" {
type = string
}

variable "cluster_ebs_csi_version" {
description = "Version of the EBS CSI add on"
type = string
}

variable "cluster_coredns_version" {
description = "Version of the CoreDNS add on"
type = string
Expand Down

0 comments on commit 4b8e224

Please sign in to comment.