Read data from the give source paths and calculate a unique hash from it. Used to detect when sources change.
provider "linuxbox" {}
data "linuxbox_source_hash" "data" {
sources = [
"${path.module}/src"
]
}
output "source_hash" {
value = data.linuxbox_source_hash.data.hash
}
sources
- (Required) A list of paths to hashhash
- The calculated hash from all the sources.