chore: fall back on timestamp if file not exists
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-01-12 14:25:55 +01:00
parent cd84d66fc8
commit b793003532

View File

@@ -42,7 +42,7 @@ resource "null_resource" "cloud_init_deb12_node" {
resource "null_resource" "node_caddy_template" {
triggers = {
file_content = filemd5(local_file.node_caddy.filename)
file_content = fileexists(local_file.node_caddy.filename) ? filemd5(local_file.node_caddy.filename) : timestamp()
}
connection {