Merge branch 'main' into hetzner
This commit is contained in:
commit
2ee55287b8
3 files changed
+13
-5
No files matched your search
@@ -16,6 +16,6 @@ resource "cloudflare_dns_record" "this" {
|
||||
name = var.record_name
|
||||
type = var.record_type
|
||||
content = var.record_value
|
||||
proxied = var.proxied
|
||||
ttl = var.proxied ? 1 : var.ttl
|
||||
proxied = var.cloudflare_proxied
|
||||
ttl = var.cloudflare_proxied ? 1 : var.record_ttl
|
||||
}
|
||||
@@ -18,18 +18,18 @@ variable "record_value" {
|
||||
description = "Record content (IP address, target hostname, text)"
|
||||
}
|
||||
|
||||
variable "proxied" {
|
||||
variable "cloudflare_proxied" {
|
||||
type = bool
|
||||
description = "Route through the Cloudflare proxy (orange cloud)"
|
||||
default = true
|
||||
}
|
||||
|
||||
variable "ttl" {
|
||||
variable "record_ttl" {
|
||||
type = number
|
||||
description = "TTL in seconds (ignored when proxied)"
|
||||
default = 3600
|
||||
validation {
|
||||
condition = var.ttl >= 60 && var.ttl <= 86400
|
||||
condition = var.record_ttl >= 60 && var.record_ttl <= 86400
|
||||
error_message = "ttl must be between 60 and 86400 seconds"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": ["local>renovate-bot/renovate-config", "local>renovate-bot/renovate-config:docker"],
|
||||
"dependencyDashboard": true,
|
||||
"dependencyDashboardTitle": "Renovate Dashboard",
|
||||
"assignees": ["alessandrovitali"],
|
||||
"labels": ["renovate"]
|
||||
}
|
||||
Reference in new issue
Block a user