fix weird variable issue

This commit is contained in:
Pim Kunis 2023-04-24 00:31:44 +02:00
parent 1e626bccd1
commit 9866130719

View file

@ -53,7 +53,7 @@ resource "null_resource" "cert" {
]
postcondition {
condition = self.triggers["cert"] != "" || !var.use_host_cert
condition = data.external.cert.result["cert"] != "" || !var.use_host_cert
error_message = "Error retrieving host certificate."
}
}