Terraform create a kubernetes resource by using kubectl kustomization

739 Views Asked by At

In a manual way I can run this command to apply kustomized files in my cluster:

"kubectl kustomize my_deploy_templates/ | kubectl apply -f -"

How can I archive the same command above by using terraform hashicorp/kubernetes provider? I know there is kbst/kustomization provider but it is not a possibility since it needs a kube config / raw file and it is not a way with my Microsoft aks.

Thanks for any help

0

There are 0 best solutions below