mirror of
https://github.com/hanzoui/registry-backend.git
synced 2026-10-30 20:30:45 +00:00
- Updated copyright to Hanzo AI, Inc. - Replaced ComfyUI references with Hanzo Studio - Updated GitHub org URLs (Comfy-Org → hanzoui) - Updated domains (comfy.org → hanzo.ai) - Updated package names and npm scopes - Updated LICENSE with Hanzo AI copyright header
72 lines
1.9 KiB
Terraform
72 lines
1.9 KiB
Terraform
# REQUIRED VARIABLE
|
|
variable "project_id" {
|
|
type = string
|
|
description = "google cloud project id"
|
|
}
|
|
|
|
variable "bucket_name" {
|
|
type = string
|
|
description = "Existing public bucket that store the comfy node-packs."
|
|
}
|
|
|
|
variable "cloud_build_service_account" {
|
|
type = string
|
|
description = "Existing service account used to run the cloud build and used to access registry backend, e.g. [email protected]. Note that this service account needs to have 'Service Account Token Creator' role."
|
|
}
|
|
|
|
# OPTIONAL VARIABLE
|
|
variable "region" {
|
|
type = string
|
|
description = "Google Cloud region"
|
|
default = "us-central1"
|
|
}
|
|
|
|
variable "topic_name" {
|
|
type = string
|
|
description = "Google Cloudpub/sub topic to be created"
|
|
default = "comfy-registry-event"
|
|
}
|
|
|
|
variable "trigger_name" {
|
|
type = string
|
|
description = "Cloud build trigger name"
|
|
default = "comfy-node-pack-extract"
|
|
}
|
|
|
|
variable "backfill_job_name" {
|
|
type = string
|
|
description = "Cloud build trigger name"
|
|
default = "comfy-node-pack-backfill"
|
|
}
|
|
|
|
variable "backfill_job_schedule" {
|
|
type = string
|
|
description = "Cron schedule for backfill job in UTC. Default is 3:30am on the 29th of february UTC."
|
|
default = "30 3 29 2 *"
|
|
}
|
|
|
|
variable "backfill_job_max_node" {
|
|
type = number
|
|
default = 10
|
|
description = "maximum number of nodes to be backfilled"
|
|
}
|
|
|
|
variable "git_repo_uri" {
|
|
type = string
|
|
description = "Connected git repo containing the cloud build pipeline. See https://cloud.google.com/build/docs/repositories"
|
|
default = "https://github.com/hanzoui/registry-backend"
|
|
}
|
|
|
|
variable "git_repo_branch" {
|
|
type = string
|
|
description = "Git repo branch."
|
|
default = "main"
|
|
}
|
|
|
|
variable "registry_backend_url" {
|
|
type = string
|
|
description = "The base url where registry backend can be reached"
|
|
default = "https://api.hanzo.ai"
|
|
}
|
|
|