Views:

Add and connect a Google Cloud (GCP) project to the Cloud Accounts app to allow Trend Vision One to provide security for your cloud assets.

Adding a Google Cloud (formerly Google Cloud Platform) project to the Cloud Accounts app allows Trend Vision One to access your cloud service to provide security and visibility into your cloud assets. Before you begin, review the permission requirements for connecting a Google Cloud project to Cloud Accounts.
Important
Important
The steps are valid as of March 2024.

Procedure

  1. Sign in to the Trend Vision One console.
  2. In a new tab in the same browser session, sign in to the Google Cloud project you want to connect and access the Cloud Shell.
  3. In the Trend Vision One console, go to Service ManagementCloud AccountsGoogle Cloud.
  4. Click Add Project.
    The Connect Google Cloud Project screen appears.
  5. Specify a Name for the project which appears in the Cloud Accounts list.
  6. Specify a Description to help identify the purpose of the connection.
  7. Click Download Resource Creation Script.
  8. In Google Cloud Shell, access the command line interface.
    Note
    Note
    The Connect Google Cloud Project screen in the Trend Vision One console provides a set of commands to help perform the following steps. To complete the connection process, you must copy each command provided in the screen to enable the Done button.
  9. Access the project you want to connect.
    Copy the command or type gcloud config set project [project ID] where [project ID] is the Project ID you want to connect.
  10. Create a new directory for the deployment folder within the project you want to connect, then access the folder.
    Copy the command or type mkdir [Project ID] && cd [Project ID].
    Note
    Note
    Trend Vision One recommends using the Project ID as the name for the deployment folder. While you can specify any directory name you want, you must ensure the folder has a unique name and that there are no other terraform files in the deployment folder.
  11. Upload the resource creation script to your Google Cloud Shell.
    Google Cloud Shell uploads the resource creation script to the root directory.
  12. Move the resource creation script to the deployment folder.
    Copy the command or type mv ~/cloud-account-management-terraform-gcp.tf ./cloud-account-management-terraform-gcp.tf.
    Important
    Important
    The resource creation script must be the only terraform file in the directory. Having more than one terraform file in the folder interferes with deployment process and might cause the connection to fail.
  13. Initiate Terraform and apply the resource creation script.
    Copy the command or type terraform init && terraform apply.
    Google Cloud Shell begins the terraform process to deploy Trend Vision One security resources.
  14. In the Trend Vision One console, in the Connect Google Cloud Project screen, click Done.
    Note
    Note
    If the Done button is not enabled, make sure you have copied the command line for each step on the screen.
    The connection process might take a few moments to complete. You can refresh the Cloud Accounts screen to check the status of your added project.