https://pulumi.com logo
#general
Title
# general
c

crooked-jelly-50877

12/12/2019, 10:14 PM
I’m trying to use the new E2 machine type on GKE, and getting a google API error. I surmise this is because the E2 machine type is beta, and the underlying terraform provider has to be updated?
w

white-balloon-205

12/12/2019, 10:15 PM
What error are you getting?
c

crooked-jelly-50877

12/12/2019, 10:15 PM
Copy code
Invalid machine type e2-highcpu-16 in zone us-east4-a: googleapi: Error 404: The resource 'projects/engineering-devops/zones/us-east4-a/machineTypes/e2-highcpu-16' was not found, notFound., badRequest`
using gcloud, that machine type is supported in that region/zone
w

white-balloon-205

12/12/2019, 10:16 PM
Hmm - that looks like its a legitimate error from Google - not from Pulumi or the Terraform Resource Provider.
c

crooked-jelly-50877

12/12/2019, 10:16 PM
I was thinking it is because it trying the GA resource, not the beta…
(gcloud beta compute …)
w

white-balloon-205

12/12/2019, 10:17 PM
Pulumi links to the
beta
provider by default - so I would be surprised if that was the issue.
Are you sure you were able to create in the
us-east4-a
zone in that same account using CLI/console?
c

crooked-jelly-50877

12/12/2019, 10:17 PM
I’ll try…
hmmm - you are right
I can select it from the console, but it does not provision…