terraform-contour-mirror/modules/k8s-secrets/variables.tf
kochetkov.s cd68e73e40 feat: Add Terraform infrastructure for pulse project
- Add modules: yc-s3, yc-postgresql, k8s-namespace, k8s-secrets
- Add live configuration for stage environment
- Add GitLab CI with downstream pipelines
- Implement best practices from theory.md
2026-01-19 15:15:14 +03:00

72 lines
1.4 KiB
HCL

variable "namespace" {
description = "Kubernetes namespace where secrets will be created"
type = string
}
variable "docker_registry_url" {
description = "Docker registry URL (e.g., cr.yandex)"
type = string
default = "cr.yandex"
}
variable "docker_registry_username" {
description = "Docker registry username"
type = string
}
variable "docker_registry_password" {
description = "Docker registry password or token"
type = string
sensitive = true
}
variable "s3_access_key" {
description = "S3 access key"
type = string
sensitive = true
}
variable "s3_secret_key" {
description = "S3 secret key"
type = string
sensitive = true
}
variable "s3_bucket_name" {
description = "S3 bucket name"
type = string
}
variable "s3_endpoint" {
description = "S3 endpoint URL"
type = string
default = "https://storage.yandexcloud.net"
}
variable "db_host" {
description = "PostgreSQL host"
type = string
}
variable "db_port" {
description = "PostgreSQL port"
type = number
default = 6432
}
variable "db_name" {
description = "PostgreSQL database name"
type = string
}
variable "db_user" {
description = "PostgreSQL user"
type = string
}
variable "db_password" {
description = "PostgreSQL password"
type = string
sensitive = true
}