tfconfig/module_call.go
raw| 1 | // Copyright (c) HashiCorp, Inc. |
| 2 | // SPDX-License-Identifier: MPL-2.0 |
| 3 | |
| 4 | package tfconfig |
| 5 | |
| 6 | // ModuleCall represents a "module" block within a module. That is, a |
| 7 | // declaration of a child module from inside its parent. |
| 8 | type ModuleCall struct { |
| 9 | Name string `json:"name"` |
| 10 | Source string `json:"source"` |
| 11 | Version string `json:"version,omitempty"` |
| 12 | |
| 13 | Pos SourcePos `json:"pos"` |
| 14 | } |