-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
105 lines (90 loc) · 3.17 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
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
/*
* Copyright 2023 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.
*/
# --------------------------------------------------
# VARIABLES
# Set these before applying the configuration
# --------------------------------------------------
#Update with your project ID
variable "project_id" {
type = string
description = "Google Cloud Project ID"
}
#Update with your preferred region. Please consider the carbon footprint of your workload when choosing a region: https://cloud.google.com/sustainability/region-carbon#data
variable "multi_region" {
type = string
description = "Google Cloud Multi-Region"
default = "US"
}
variable "region" {
type = string
description = "Region for resources that cannot support the US or EU multi-region"
default = "us-central1"
}
variable "bq_dataset" {
type = string
description = "BigQuery dataset ID"
default = "cymbal_sports"
}
variable "refund_resource_purpose" {
type = set(string)
description = "The purpose of the PubSub topics and subscriptions used to define resource ID"
default = ["prompts", "responses", "refunds"]
}
variable "review_resource_purpose" {
type = set(string)
description = "The purpose of PubSub topics and subscriptions used to define resource ID"
default = ["prompts", "responses"]
}
variable "sample_data_bucket" {
type = string
description = "Name of the GCS bucket that holds the sample data"
default = "gs://data-analytics-demos/"
}
variable "labels" {
type = map(string)
description = "A map of labels to apply to contained resources."
default = { "gemini-multimodal-demo" = true }
}
variable "enable_apis" {
type = string
description = "Whether or not to enable underlying apis in this solution. ."
default = true
}
variable "force_destroy" {
type = string
description = "Whether or not to protect BigQuery resources from deletion when solution is modified or changed."
default = true
}
variable "use_case_short" {
type = string
description = "Short name for use case"
default = "gemini-multimodal-demo"
}
variable "public_data_bucket" {
type = string
description = "Public Data bucket for access"
default = "data-analytics-demos"
}
variable "deletion_protection" {
type = string
default = false
description = "Whether or not to protect Google Cloud Storage resources from deletion when solution is modified or changed."
}
variable "create_ignore_service_accounts" {
type = bool
default = true
description = "If set to true, skip service account creation if a service account with the same email already exists."
}