In this article, I will enable some APIs that we need for the connectivity with our GCP infrastructure with our terraform. Let's Understand how many APIs we need to enable and why we need them.
The first one we need is to log in to our GCP console and choose our Paayi-tech-learning project, as shown below.
Please click on the top left side corner burger button and search for API & Services, hover your mouse over there, and click Dashboard. After clicking the Dashboard, you are in the APIs & Services Dashboard, as shown below.
Click on Enable APIs and Services button, as shown below.
Search for Cloud resource manager API, then click to open it.
Enable the cloud resource manager API, if it's not enabled already. This API helps the resources to create, read, and updates the metadata for google cloud platform resource containers.
The next API we need to search for is the Cloud Compute Engine API. Click Compute Engine API.
Enable it if it's not enabled already, as shown in the image below. This API helps to create and runs virtual machines inside the Google Cloud Platform.
And the last service we need it Google Cloud Storage API. Click on Cloud Storage and Open it.
Enable Cloud Storage API, if it's not enabled already, as shown in the image below.
We need all these three APIs to connect to our environment and to work seamlessly between terraform and GCP environment. In the next article, I will discuss how to create a bucket and virtual machine inside GCP.