[DEV]OpsNow User Guide
  • Introduction
    • Introduction
      • What is FinOps?
    • Getting Started
      • What is OpsNow?
      • Create your Accounts
      • Create your Company
      • Create your Organization
      • Connect Your Cloud Accounts
        • How to Connect Cloud Accounts?
        • Connect AWS Accounts
        • Connect Azure Subscriptions
        • Connect GCP Projects
      • Check Connected Accounts
      • Invite Members
      • Modifying your Company & Organization
      • Add your Cloud Accounts
  • Menu
    • Overview
    • Analytics
    • Anomalies
      • Overview Tab
      • Alerts Tab
      • History Tab
    • Budgets
      • Budgets Tab
      • History Tab
    • Resources
      • Usage
      • Optimization
        • Exclusion from Recommendation tab
        • Right Sizing Tab
        • Unused Resources Tab
    • My Commitments
      • Recommendations Tab
      • Utilization Tab
      • Coverage Tab
      • Inventory Tab
    • AutoSavings
      • Registering as a seller
    • Policy Management
      • Report Tab
      • History Tab
      • Settings
        • Setting up permissions in GCP
  • Setting
    • Profile
    • User Management
      • Users Tab
      • User Groups Tab
      • Roles Tab
    • Organizations
    • Cloud Accounts
      • Cloud Account [Type]
      • Cloud Account [Status]
      • Cloud Account [Data Ingest]
      • AWS Cloud Account
        • AWS Cloud Account Status [Error]
    • Billing
    • Security
    • Authentication
    • API Key
Powered by GitBook
On this page
  1. Menu
  2. Policy Management
  3. Settings

Setting up permissions in GCP

PreviousSettingsNextProfile

Last updated 4 months ago

To use Policy Management in a GCP account, additional permissions are required within the GCP Account. Please follow these steps: 1. Download the Terraform code for creating a service account key file from the link below:

2. Access the Cloud Shell of the account you want to register using the link below. Make sure to log in with an account that has Owner permissions.

  1. Select [Upload] from the menu in the upper right corner.

  1. Click [Choose file] and select the Terraform file you downloaded in Step 1.

  1. Click the [Upload] button.

  1. A file upload notification will appear in the bottom right corner.

  1. Run the following command in Cloud Shell to create the necessary resources and generate a service account key file.

terraform init
terraform apply -var="service_account_email=<SERVICE_ACCOUNT_EMAIL>"

The service account email must match the email associated with the service account linked to OpsNow.

'SERVICE_ACCOUNT_EMAIL' can be found by navigating to "IAM & Admin" > "IAM" in the left menu, then selecting the project. The email address of the corresponding service account will be visible there.

  1. When you run the terraform apply command, click the [Authorize] button in the Cloud Shell authorization pop-up message.

Access Cloud Shell
5KB
OpsNow_Policy_Management.tf