chore: Restructured infra modules
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
variable "server_type" {
|
||||
description = "Server type for vpn (OpenVPN + Traefik)."
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "image" {
|
||||
description = "OS image used for the server."
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "location" {
|
||||
description = "Hetzner Cloud datacenter location."
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "ssh_key_id" {
|
||||
description = "ID of the Hetzner Cloud SSH key to install on the server."
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "allowed_ssh_source_ips" {
|
||||
description = "CIDRs allowed to reach port 22 on vpn."
|
||||
type = list(string)
|
||||
}
|
||||
Reference in New Issue
Block a user