Back to Terragrunt

Terraform Source Dependency Error

docs/src/data/changelog/v1.1.1/terraform-source-dependency-error.mdx

1.1.1465 B
Original Source

Clear error when terraform.source references a dependency output

A terraform.source that references dependency.<name>.outputs.<key> is now rejected with a message explaining that the module source must be resolvable before dependencies are evaluated.

Terragrunt resolves the source while discovering units and building the run queue, before any dependency has run, so such a source can never be satisfied. Previously it surfaced a cryptic decode error.