I am looking for terraform code to use sole tenant nodes in GKE cluster.
I found the below reference on Google Cloud Docs, but I am unable to find the code in terraform.
https://cloud.google.com/kubernetes-engine/docs/how-to/sole-tenancy
Here is the snippet of the code I want to convert :
gcloud container node-pools create NODE_POOL_NAME \
--node-group GROUP_NAME --cluster CLUSTER_NAME \
--zone COMPUTE_ZONE --machine-type=MACHINE_TYPE \
--node-locations=COMPUTE_ZONE,COMPUTE_ZONE1