terraform-provider-kubernetes
terraform-provider-kubernetes copied to clipboard
Is it possible to create a kubernetes_manifest without deploying it on the cluster?
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!