-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
111 lines (105 loc) · 2.59 KB
/
variables.tf
File metadata and controls
111 lines (105 loc) · 2.59 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
variable "project_id" {}
variable "region" {}
variable "location" {}
variable "bigquery_datasets" {
description = "BigQuery DataSets"
type = map(object({
datasetName = string
}))
}
variable "buckets" {
description = "BigQuery DataSets"
type = map(object({
bucketName = string
}))
}
variable "pubsub_topics" {
description = "Pub Sub Topics"
type = map(object({
topicName = string
}))
}
variable "bucket_objects" {
description = "Pub Sub Topics"
type = map(object({
bucketName = string,
objectName = string
}))
}
variable "key_set_name" {
default = ""
}
variable "key_ring_name" {
default = ""
}
variable "function_name" {
default = ""
}
variable "runtime" {
default = ""
}
variable "function_entry_point" {
default = ""
}
variable "service_account_email" {
default = ""
}
variable "topic_id" {
default = ""
}
variable "delete_contents_on_destroy" {
description = "(Optional) If set to true, delete all the tables in the dataset when destroying the resource; otherwise, destroying the resource will fail if tables are present."
type = bool
default = null
}
variable "deletion_protection" {
description = "Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a terraform destroy or terraform apply that would delete the instance will fail"
type = bool
default = false
}
variable "default_table_expiration_ms" {
description = "TTL of tables using the dataset in MS"
type = number
default = null
}
variable "encryption_key" {
description = "Default encryption key to apply to the dataset. Defaults to null (Google-managed)."
type = string
default = null
}
variable "labels" {
description = "Key value pairs in a map for dataset labels"
type = map(string)
default = {}
}
# Format: list(objects)
# domain: A domain to grant access to.
# group_by_email: An email address of a Google Group to grant access to.
# user_by_email: An email address of a user to grant access to.
# special_group: A special group to grant access to.
variable "access" {
description = "An array of objects that define dataset access for one or more entities."
type = any
# At least one owner access is required.
default = [
{
role = "roles/bigquery.dataOwner"
special_group = "projectOwners"
}
]
}
variable "data_gen_func" {
default = ""
}
variable "input_bucket" {
default = ""
}
variable "output_bucket" {
default = ""
}
variable "num_records" {
default = ""
}
variable "function_entry_point_data_gen" {
default = ""
}