Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

terraform: output nodes can have depends_on #10072

Merged
merged 3 commits into from
Nov 14, 2016
Merged

Conversation

mitchellh
Copy link
Contributor

@mitchellh mitchellh commented Nov 12, 2016

This adds depends_on to output.

The primary use case for this is to depend on resources that may have a side effect that the output is depending on. For example: a resource may be a local-exec provisioner to create a file that the output is reading with ${file()}.

Another reason to add this is to support module-level depends_on which would impose a depends_on on all contained items (resources, modules, etc.).

This doesn't put a "Dependencies" list into the state for outputs because dependency ordering only matters for creation and updates, not for orphan destruction.

@mitchellh mitchellh added this to the Terraform 0.8 milestone Nov 12, 2016
@mitchellh mitchellh merged commit e3a01cc into master Nov 14, 2016
@mitchellh mitchellh deleted the f-output-depends-on branch November 14, 2016 19:52
@ghost
Copy link

ghost commented Apr 20, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants