forked from GoogleCloudPlatform/vertex-ai-creative-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
98 lines (84 loc) · 2.96 KB
/
variables.tf
File metadata and controls
98 lines (84 loc) · 2.96 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
/**
* Copyright 2024 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.
*/
variable "project_id" {
type = string
}
variable "region" {
description = "Location for load balancer and Cloud Run resources"
type = string
default = "us-central1"
}
variable "use_lb" {
description = "Run load balancer on HTTPS and provision managed certificate with provided `domain`."
type = bool
default = true
}
variable "domain" {
description = "Domain name to run the load balancer on. Used if `ssl` is `true`."
type = string
default = ""
}
variable "initial_container_image" {
description = "Container image to use for the Cloud Run service hosting Creative Studio. Because infra is deployed through Terraform this defaults to placeholder image; however, if you are applying Terraform template post initial deployment, use the latest built image to avoid reverting back to the placeholder."
type = string
default = "us-docker.pkg.dev/cloudrun/container/placeholder"
}
variable "model_id" {
description = "Veo model ID to use for video generation"
type = string
default = "gemini-2.5-flash"
}
variable "veo_model_id" {
description = "Veo model ID to use for video generation"
type = string
default = "veo-3.0-generate-001"
}
variable "veo_exp_model_id" {
description = "Experimental Veo model ID to use for video generation"
type = string
default = "veo-3.0-generate-preview"
}
variable "lyria_model_id" {
description = "Lyria model ID to use for audio generation"
type = string
default = "lyria-002"
}
variable "edit_images_enabled" {
description = "Feature flag for Edit Images feature"
type = bool
default = true
}
variable "enable_data_deletion" {
description = "Whether to allow force destroy on storage buckets. Should be false in production."
type = bool
default = false # Default to safe
}
variable "initial_user" {
description = "Email address of initial user that will be granted access to Creative Studio in IAP"
type = string
nullable = true
default = null
}
variable "allow_local_domain_cors_requests" {
description = "Whether to allow local domain requests to the assets GCS bucket"
type = bool
default = false
}
variable "sleep_time" {
description = "Amount of time to wait post service API enablement to allow for eventual consistency to trickly through GCP."
type = number
default = 45
}