terraform-provider-kubernetes icon indicating copy to clipboard operation
terraform-provider-kubernetes copied to clipboard

Is it possible to create a kubernetes_manifest without deploying it on the cluster?

Open maonat opened this issue 2 years ago • 6 comments

Terraform version, Kubernetes provider version and Kubernetes version

Terraform version: Terraform v1.3.1
Kubernetes Provider version: 2.16.1
Kubernetes version: 1.24.6

Terraform configuration

resource "kubernetes_manifest" "test" {
  manifest = {
    // ...
  }
}

Question

is there a way to NOT deploy the manifest on the cluster?
I want to use the kubernetes_manifest as validator only which will help me creating multiple manifests without deploying them as I use FLUX and reconciliation for that.
I wasn't able to find anything on the documentation. Thanks!

maonat avatar Dec 12 '22 13:12 maonat