"strings"
"github.com/hashicorp/terraform/config"
+ "github.com/hashicorp/terraform/dag"
)
// NodeApplyableOutput represents an output that is "applyable":
return true
}
+// GraphNodeTargetDownstream
+func (n *NodeApplyableOutput) TargetDownstream(targetedDeps, untargetedDeps *dag.Set) bool {
+ // If any of the direct dependencies of an output are targeted then
+ // the output must always be targeted as well, so its value will always
+ // be up-to-date at the completion of an apply walk.
+ return true
+}
+
// GraphNodeReferenceable
func (n *NodeApplyableOutput) ReferenceableName() []string {
name := fmt.Sprintf("output.%s", n.Config.Name)