I have a module depending on another, example terragrunt.hcl
in the depending module:
dependency "workspace" {
config_path = "../workspace"
}
inputs = {
databricks_resource_id = dependency.workspace.outputs.resource_id
}
During apply
there will always be outputs, but during destroy
there may not be because I am using --terragrunt-ignore-dependency-errors
and may run destroy
multiple times.
If the dependency doesn't have any outputs I want the depending module to be skipped with run-all
.
Is this possible?