diff --git a/storage-class.tf b/storage-class.tf index a3c7bd3..26ef51a 100644 --- a/storage-class.tf +++ b/storage-class.tf @@ -1,11 +1,8 @@ -resource "kubectl_manifest" "storage_class" { +resource "kubernetes_storage_class" "storage_class" { count = (var.enabled && var.create_storage_class) ? 1 : 0 - yaml_body = <