fix weird variable issue
This commit is contained in:
parent
1e626bccd1
commit
9866130719
1 changed files with 1 additions and 1 deletions
2
main.tf
2
main.tf
|
@ -53,7 +53,7 @@ resource "null_resource" "cert" {
|
||||||
]
|
]
|
||||||
|
|
||||||
postcondition {
|
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."
|
error_message = "Error retrieving host certificate."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue