Artemmkin / infrastructure-as-code-tutorial

Infrastructure As Code Tutorial. Covers Packer, Terraform, Ansible, Vagrant, Docker, Docker Compose, Kubernetes
Apache License 2.0
2.26k stars 421 forks source link

In 02-manual-operations.md Compute Engine API needs to be enabled #5

Open tonykay opened 6 years ago

tonykay commented 6 years ago

In 02-manual-operations.md the instruction:

glcoud compute instance create

will/may fail with a message to enable "enable Compute Engine API". The error message also gives the fix which is to follow the link and enable the API: https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=xxxxxxxxxxxx then retry

Artemmkin commented 6 years ago

yep, I'm aware of it. If you have any suggestions on what we can add to the tutorial to avoid this error from happening or make it less confusing for people, that would be awesome. I will give it a thought too. Although, I think this error is not so critical as it gives you a solution on how to fix it.

tonykay commented 6 years ago

I agree, if I see a fix I'll let you know. More familiar with AWS than GCP.

j-i-m-s-t-e-r commented 4 years ago

You also need billing setup (a credit card) even on Free Tier now if you try to create compute resource.