48 lines
1.1 KiB
HCL
48 lines
1.1 KiB
HCL
locals {
|
|
datacenter = "fsn1-dc14"
|
|
server_type = "cx22"
|
|
server_image = "debian-12"
|
|
|
|
domain = "maximhutz.com"
|
|
subdomain = "git"
|
|
|
|
network_cidr = "10.0.0.0/16"
|
|
gitea_ip = "10.0.10.16"
|
|
runner_ip = "10.0.10.17"
|
|
}
|
|
|
|
# ---------------------------------------------------------------------------- #
|
|
|
|
variable "hcloud_token" {
|
|
sensitive = true
|
|
description = "The hCloud token used to access Hetzner resources."
|
|
type = string
|
|
}
|
|
|
|
variable "public_gitea_ssh_key_path" {
|
|
description = "The location of the public key used to access the repository Gitea server."
|
|
type = string
|
|
}
|
|
|
|
variable "public_runner_ssh_key_path" {
|
|
description = "The location of the public key used to access the repository Gitea Action runner."
|
|
type = string
|
|
}
|
|
|
|
variable "aws_region" {
|
|
description = "The region of the AWS account."
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "aws_access_key" {
|
|
description = "The access key of the account."
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "aws_secret_key" {
|
|
description = "The secret key of the account."
|
|
type = string
|
|
sensitive = true
|
|
} |