chore: fall back on timestamp if file not exists
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
cd84d66fc8
commit
b793003532
2
node.tf
2
node.tf
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user