Way to create cert-manager issuer, certificate on GCP with terrafom

2/2/2021

ON GKE, I tried to install cert-manager using terraform (terraform v.0.14.0)

With helm, installing cert-manager worked. but I couldn't find how to do next step, create issuer & certificate https://cert-manager.io/docs/installation/kubernetes/#verifying-the-installation

I know using kubectl apply -f RESOURCE.yaml works well, but my goal is running it using terraform, too.

Have anyone tried to do same things ?

-- Ryo
cert-manager
google-cloud-platform
kubectl
kubernetes
terraform

1 Answer

2/3/2021

I found I could use https://github.com/gavinbunney/terraform-provider-kubectl. it worked as I expected.

-- Ryo
Source: StackOverflow