https://pulumi.com logo
#google-cloud
Title
# google-cloud
b

best-pager-99189

08/31/2023, 6:49 PM
👋 has anyone tried enabling policy controller for a GKE cluster via pulumi? I’m struggling to find a parameter value for this in gcp.container.Cluster
it is in the GKE console, but as preview
s

stocky-restaurant-98004

09/01/2023, 1:43 PM
Is it different from the network policy controller?
My guess is that if it is available, it would be here: https://www.pulumi.com/registry/packages/gcp/api-docs/container/cluster/#clusteraddonsconfig FWIW, that's where Pulumi AI seems to have hallucinated it: https://www.pulumi.com/ai/conversations/cd0baef8-8480-4948-8c8e-40ddf4962b5c
If it's not available in the provider, you can get by using the Command provider to run the
gcloud
command that enables it (assuming such a CLI call exists). https://www.pulumi.com/registry/packages/command/api-docs/local/command/