-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathvariables.tf
67 lines (58 loc) · 2.34 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/**
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#created by blueprints https://github.com/terraform-google-modules/terraform-google-module-template
variable "project-id" {
description = "Project ID to deploy to"
type = string
}
variable "bq-billing-export-table-id" {
type = string
description = "Standard billing export BigQuery table name INCLUDING project id and dataset id. Can be found in BigQuery table details under table id."
}
variable "bq-dashboard-dataset-name" {
type = string
description = "Bigquery dataset where the dashboard view will be created. Should already exist."
}
variable "looker-studio-service-agent-name" {
type = string
default = null
description = "Looker studio service agent name to be used with the looker studio dashboard. Can be copied from https://lookerstudio.google.com/c/serviceAgentHelp. If empty no gcp service account will be created and looker dashboard will be used with the executor's personal gcp account only."
}
variable "bq-dashboard-view-name" {
type = string
default = "billing-export-view"
description = "Bigquery view name for the billing export to be created."
}
variable "billing-data-interval" {
type = number
default = 13
description = "Time interval in month to be showed in billing dashboard."
}
variable "looker-studio-service-account-name" {
type = string
default = "looker-studio-sa"
description = "Gcp service account name used to execute looker requests on behalf of looker service agent."
}
variable "looker-studio-report-name" {
type = string
default = "billing-report"
description = "Copied report name."
}
variable "bq-dashboard-view-labels" {
type = map(string)
description = "A map of labels to apply to bigquery view."
default = {}
}