cloudforet-io / plugin-google-billing-cost-datasource

Apache License 2.0
2 stars 2 forks source link
cost-analysis data-source plugin

plugin-google-billing-cost-datasource

Plugin for collecting GCP Billing data from BigQuery service


Secret Data

Schema

project_id, private_key, token_uri and client_email can be obtained from api_key issued when creating service_account.  


Example

{
    "project_id": "<project_id>",
    "private_key": "*****",
    "client_email": "<service_account_name>@<project_id>.iam.gserviceaccount.com",
    "token_uri": "https://oauth2.googleapis.com/token",
    "billing_dataset": "spaceone_billing_data", #optional
    "target_billing_account_id": "{BILLING_ACCOUNT_ID}", #optional
    "target_project_id": ["*"]
}


Options

Currently, not required.