Improve terraform configs

Allow string ports to set port range in hcloud firewall
This commit is contained in:
Tobias Reisinger 2025-01-24 02:28:33 +01:00
parent 1a6395f602
commit 57fe2ed42c
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ resource "healthchecksio_check" "backup" {
] ]
timeout = 86400 timeout = 86400
grace = 1800 grace = 3600
} }
resource "healthchecksio_check" "healthcheck" { resource "healthchecksio_check" "healthcheck" {

View file

@ -24,7 +24,7 @@ variable "services" {
}))) })))
ports = optional(list(object({ ports = optional(list(object({
description = string description = string
port = number port = string
protocol = string protocol = string
type = string type = string
}))) })))

View file

@ -153,7 +153,7 @@ variable "services" {
})) }))
ports = optional(list(object({ ports = optional(list(object({
description = string description = string
port = number port = string
protocol = string protocol = string
type = string type = string
}))) })))