From b6272a4a69560d738aa824163003514e65c3ba25 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 24 Jun 2014 15:06:35 -0700 Subject: [PATCH] terraform: comments --- terraform/graph.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/terraform/graph.go b/terraform/graph.go index dfb3b33fd..16e16d971 100644 --- a/terraform/graph.go +++ b/terraform/graph.go @@ -15,6 +15,16 @@ const GraphRootNode = "root" // // This dependency graph shows the correct order that any resources need // to be operated on. +// +// The Meta field of a graph Noun can contain one of the follow types. A +// description is next to each type to explain what it is. +// +// *config.Resource - A resource itself +// *config.ProviderConfig - The configuration for a provider that +// should be initialized. +// *ResourceState - An orphan resource that we only have the state of +// and no more configuration. +// func Graph(c *config.Config, s *State) *depgraph.Graph { g := new(depgraph.Graph)