mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
TODO: - [x] Cluster formation for all API and web nodes - [x] Injest Docker logs to Stackdriver - [x] Fix assets building for prod To finish later: - [ ] Structured logging: https://issuetracker.google.com/issues/285950891 - [ ] Better networking policy (eg. use public postmark ranges and deny all unwanted egress) - [ ] OpenTelemetry collector for Google Stackdriver - [ ] LoggerJSON.Plug integration --------- Signed-off-by: Andrew Dryga <andrew@dryga.com> Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
57 lines
1.6 KiB
HCL
57 lines
1.6 KiB
HCL
variable "project_id" {
|
|
description = "The ID of the project in which the resource belongs."
|
|
}
|
|
|
|
variable "compute_region" {
|
|
description = "The region the instance will sit in."
|
|
}
|
|
|
|
variable "compute_availability_zone" {
|
|
description = "The preferred compute engine zone. See https://cloud.google.com/compute/docs/regions-zones?hl=en"
|
|
}
|
|
|
|
variable "compute_instance_memory_size" {
|
|
description = "Instance memory size. See https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create"
|
|
}
|
|
|
|
variable "compute_instance_cpu_count" {
|
|
description = "Count of CPUs. See https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create"
|
|
}
|
|
|
|
variable "network" {
|
|
description = "Full network identifier which is used to create private VPC connection with Cloud SQL instance"
|
|
}
|
|
|
|
variable "database_name" {
|
|
description = "Name of the Cloud SQL database"
|
|
}
|
|
|
|
variable "database_version" {
|
|
description = "Version of the Cloud SQL database"
|
|
default = "POSTGRES_15"
|
|
}
|
|
|
|
variable "database_highly_available" {
|
|
description = "Creates a failover copy for the master intancy and makes it availability regional."
|
|
default = false
|
|
}
|
|
|
|
variable "database_backups_enabled" {
|
|
description = "Should backups be enabled on this database?"
|
|
default = false
|
|
}
|
|
|
|
variable "database_read_replica_locations" {
|
|
description = "List of read-only replicas to create."
|
|
type = list(object({
|
|
region = string
|
|
}))
|
|
default = []
|
|
}
|
|
|
|
variable "database_flags" {
|
|
description = "List of PostgreSQL database flags. Can be used to install Postgres extensions."
|
|
type = map(string)
|
|
default = {}
|
|
}
|