Terraform

Explain the "depends" parameter of output variable

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

It is used to set explicitly dependency between the output variable and any other resource. Use case: some piece of information is available only once another resource is ready.