variable "project_id" {}

variable "project_number" {}

variable "region" {}

variable "deploy_service_account_id" {
  type    = string
  default = "pingcap-gh-deploy"
}

variable "deploy_service_account_display_name" {
  type    = string
  default = "GitHub Actions deployer for pingcap-datapipelines"
}

variable "workload_identity_pool_id" {
  type    = string
  default = "github-actions"
}

variable "workload_identity_pool_display_name" {
  type    = string
  default = "GitHub Actions"
}

variable "workload_identity_provider_id" {
  type    = string
  default = "github"
}

variable "workload_identity_provider_display_name" {
  type    = string
  default = "GitHub Actions"
}

variable "github_repository" {
  type = string
}

variable "github_ref" {
  type    = string
  default = "refs/heads/main"
}

variable "github_environment" {
  type    = string
  default = "production"
}

variable "deploy_project_roles" {
  type = list(string)
  default = [
    "roles/cloudbuild.builds.editor",
    "roles/run.developer",
  ]
}

variable "runtime_service_account_email" {
  type = string
}

variable "artifact_registry_location" {
  type    = string
  default = "us-west2"
}

variable "artifact_registry_repository" {
  type = string
}

variable "cloud_build_service_account_email" {
  type = string
}
