github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/command/jsonplan/module.go (about)

     1  package jsonplan
     2  
     3  // module is the representation of a module in state. This can be the root
     4  // module or a child module.
     5  type module struct {
     6  	// Resources are sorted in a user-friendly order that is undefined at this
     7  	// time, but consistent.
     8  	Resources []resource `json:"resources,omitempty"`
     9  
    10  	// Address is the absolute module address, omitted for the root module
    11  	Address string `json:"address,omitempty"`
    12  
    13  	// Each module object can optionally have its own nested "child_modules",
    14  	// recursively describing the full module tree.
    15  	ChildModules []module `json:"child_modules,omitempty"`
    16  }