71 lines
1.7 KiB
HCL
71 lines
1.7 KiB
HCL
variable "project_id" {
|
|
description = "The Google Cloud project ID"
|
|
type = string
|
|
}
|
|
|
|
variable "region" {
|
|
description = "The Google Cloud region"
|
|
type = string
|
|
default = "us-central1"
|
|
}
|
|
|
|
variable "zone" {
|
|
description = "The Google Cloud zone"
|
|
type = string
|
|
default = "us-central1-a"
|
|
}
|
|
|
|
variable "storage_bucket_name" {
|
|
description = "The name of the Cloud Storage bucket"
|
|
type = string
|
|
}
|
|
|
|
variable "firestore_db_name" {
|
|
description = "The name of the Firestore database"
|
|
type = string
|
|
default = "imagedb"
|
|
}
|
|
|
|
variable "environment" {
|
|
description = "The deployment environment (dev, staging, prod)"
|
|
type = string
|
|
default = "dev"
|
|
}
|
|
|
|
variable "pubsub_topic_name" {
|
|
description = "The name of the Pub/Sub topic for image processing"
|
|
type = string
|
|
default = "image-processing-topic"
|
|
}
|
|
|
|
variable "cloud_run_service_account" {
|
|
description = "The service account email for Cloud Run"
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable "cloud_function_service_account" {
|
|
description = "The service account email for Cloud Functions"
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
# Vector Database VM variables
|
|
variable "qdrant_api_key" {
|
|
description = "API key for Qdrant vector database"
|
|
type = string
|
|
sensitive = true
|
|
default = ""
|
|
}
|
|
|
|
variable "allowed_cidr_blocks" {
|
|
description = "CIDR blocks allowed to access the vector database"
|
|
type = string
|
|
default = "0.0.0.0/0" # Change this to your specific IP ranges for security
|
|
}
|
|
|
|
variable "use_static_ip" {
|
|
description = "Whether to use a static IP for the vector database VM"
|
|
type = bool
|
|
default = false
|
|
} |