Skip to content

Commit

Permalink
Update patch SC comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dhoucgitter committed Sep 6, 2024
1 parent c689918 commit 7a55678
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ module "kubeconfig" {
depends_on = [module.eks.cluster_name] # The name/id of the EKS cluster. Will block on cluster creation until the cluster is really ready.
}

# Restore the gp2 storage class as the default storage class for EKS 1.30 and later clusters
# Normally, the use of local-exec below is avoided. It is used here to patch the gp2 storage class as the default storage class for EKS 1.30 and later clusters.
# In the near future, adopting a newer version of the aws-ebs-csi-driver will create a new gp3-based storage class which will become the default storage class.
resource "terraform_data" "run_command" {
count = var.kubernetes_version >= "1.30" ? 1 : 0
provisioner "local-exec" {
Expand Down

0 comments on commit 7a55678

Please sign in to comment.