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

rough-author-69114

07/07/2022, 9:04 AM
Hi everybody! Has anyone used GKE autopilot in python? I'm following this example https://www.pulumi.com/registry/packages/gcp/api-docs/container/cluster/#autopilot but get a
googleapi: Error 400: Max pods constraint on node pools for Autopilot clusters should be 32., badRequest
when I'm trying to deploy it. I can't find a way to force the max pods constraint, and to be frank I shouldn't mess with that when I'm running autopilot.
w

witty-candle-66007

07/07/2022, 11:40 AM
Add
Copy code
ip_allocation_policy=gcp.container.ClusterIpAllocationPolicyArgs(),
This is needed to work around an upstream Terraform Provider issue.
r

rough-author-69114

07/08/2022, 12:59 PM
Thanks @witty-candle-66007, I'll try that.
That worked splendidly!
118 Views