Using GCP with terraform to create VPC's and global IP addresses, I keep getting this error.
Error creating Network: googleapi: Error 403: Access Not Configured. Compute Engine API has not been used in project XXX before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=XXXthen retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry., accessNotConfigured
The Compute API has been enabled for at least a month.
I am also using a service account with owner
permissions on the project.
I don't understand how to make this work. This has been going on for 3 days now.
Does anyone have any insight, because I'm completely stumped now.
Initially, only some APIs are enabled by default. But, when you visit the compute engine in web console, it automatically enables the API.
Do you have billing enabled for this project? Double check the Project ID in the error message with the project that you enabled the Compute Engine API. – John Hanley 3 mins ago
Enabling the billing API fixed this for me thank you
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With