Error creating discontigous multipod cidr using terraform GKE

These are the network_config we are using for our multipod cidr as per google documentation. But while passing them using terraform, we are running through this error.

Error: error creating NodePool: googleapi: Error 400: EnablePrivateNodes must be enabled for private clusters with valid masterIpv4Cidr., badRequest

This forces us to set EnablePrivateNodes to true, which works if we do, but we dont want to.
Found a github issue as well which states the same. Is there someway to override this?