googlecloudsdk.calliope.exceptions.HttpException: ResponseError: code=400, message=Autopilot clusters must be regional clusters.

Problem

Trying to create an auto-cluster either using terraform or gcloud cli, and specifying the region name returns the error that ‘Autopilot clusters must be regional clusters.

So with gcloud this is the command and output

BASH

Solution

Using the actual region name (that can be taken from the list of available zones/regions)

BASH

And using the correct region name (without the b)

BASH