We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5d4909 commit f42189dCopy full SHA for f42189d
main.tf
@@ -93,6 +93,28 @@ module "comet_eks" {
93
eks_airflow_node_count = var.eks_airflow_node_count
94
}
95
96
+resource "kubernetes_storage_class" "gp3" {
97
+ metadata {
98
+ name = "gp3"
99
+ annotations = {
100
+ "storageclass.kubernetes.io/is-default-class" = "true"
101
+ }
102
103
+
104
+ storage_provisioner = "ebs.csi.aws.com"
105
106
+ parameters = {
107
+ type = "gp3"
108
+ # Optionally, set iops and throughput:
109
+ # iops = "3000"
110
+ # throughput = "125"
111
112
113
+ reclaim_policy = "Delete"
114
+ volume_binding_mode = "WaitForFirstConsumer"
115
+ allow_volume_expansion = true
116
+}
117
118
module "comet_elasticache" {
119
source = "./modules/comet_elasticache"
120
count = var.enable_elasticache ? 1 : 0
0 commit comments