GCP
Last updated
Was this helpful?
Last updated
Was this helpful?
Brainboard allows you to connect to your GCP environments, whether you want to provision resources, import existing infrastructure or simply manage your architecture on a daily basis.
To connect Brainboard to your GCP account:
Go to the settings page.
Click on Google Cloud Platform
Click on New connection
This will open the new connection page where you can add your project id and upload your JSON file for your credentials
Here are the steps to generate GCP credentials:
Go to the Google Cloud Console (https://console.cloud.google.com) and select your project.
In the navigation menu, click on the hamburger icon (≡) and then select "IAM & admin" and then "Service accounts"
Click on the "Create Service Account" button.
In the "Create service account" form, give a name to the service account and provide a brief description.
Under "Role", select the role that you want to assign to the service account. This role will determine the actions that Terraform can perform with the service account.
Click on "Create" to create the service account.
Once the service account is created, you will see the option to create a key. Select "JSON" as the key type and click on "Create"
The JSON key file will be downloaded to your local machine. This file contains the credentials for the service account and it should be kept secure.
Once you have the JSON key file, you can use it to authenticate the Terraform GCP Provider to GCP.
Once your credentials are added you can specify where exactly they will be used
This allows you to specify whether you want:
Make the credentials the default to use within your organization: which means any architecture created in Brainboard will use these credentials if it doesn't have its own ones.
Use in a specific project
Use in a specific environment
Use in a specific architecture