(Optional) Add a Google Cloud Platform service account to the cloud account
During Cloud Provisioning and Governance Day 1 setup, you added one service account to the cloud account. To compartmentalize your infrastructure or to include different datacenters, you can add another service account. A particular datacenter, however, cannot be selected in more than one service account in a cloud account.
Before you begin
Role required: sn_cmp.cloud_admin
About this task
A service account is a secure record on your instance that stores the credential and access information for your provider account. Discovery uses the information to access your provider account to get data on each resource in each specified datacenter.
In this example, you added the service account named ProviderB-ServiceAccount-1 and selected three datacenters to include in the cloud account:
A second service account with three selected datacenters
Important: In a cloud account, you cannot select a particular datacenter in two different service accounts.
Procedure
Navigate to Cloud Admin Portal > Service Accounts.
Click New, enter a unique and meaningful Name, and then fill in the form.
Fill in the remaining fields:
| Field | Description | |
|---|---|---|
| Account ID | From the JSON key file that is associated with the service account, copy/paste the project_id value into the Account ID field. Image omitted: gcp-add-service-acct.png Discovery credentialsCopy the project_id value into the Account ID field</td></tr><tr><td> | Select the appropriate credentials for the service account For information on generating or obtaining the credentials, see [Specify the credentials that CSC Terraform Connector uses to access Google Cloud Platform data](). |
| Datacenter URL | Leave the Datacenter URL field blank. | |
| Datacenter type | Select Google Cloud Platform Datacenter. | |
| Datacenter discovery status | Auto-generated value: Status and timestamp of the last execution of Discovery on the datacenter. |
Click Update or Submit.
The system creates the service account and displays the list of all discovered datacenters.
Repeat the process to add as many service accounts as needed.