This module provisions a Grafana stackdriver(GCP) data source and a GCP Service Account with minimal permissions.
provider "grafana" {
url = "SOME-URL"
auth = "SOME-TOKEN" // dont keep this in your version control in clear text
}
provider "google" {
project = "SOME-PROJECT"
region = "us-central1"
}
module "data_source" {
source = "DrFaust92/stackdriver-module/grafana"
version = "<VERSION>"
project = "some-gcp-project"
service_account_id = "some-account-id"
}
Name | Version |
---|---|
terraform | >= 0.13 |
Name | Version |
---|---|
n/a | |
grafana | n/a |
No modules.
Name | Type |
---|---|
google_project_iam_member.data_source | resource |
google_service_account.data_source | resource |
google_service_account_key.data_source | resource |
grafana_data_source.data_source | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
project | Google project to create resources in | string |
n/a | yes |
service_account_id | GCP service account name | string |
n/a | yes |
Name | Description |
---|---|
grafana_data_source_id | Grafana data source ID |
service_account_email | Google service account email |
service_account_id | Google service account ID |
service_account_name | Google service account name |