-
Notifications
You must be signed in to change notification settings - Fork 21
/
meta.go
37 lines (30 loc) · 801 Bytes
/
meta.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package module
import (
"github.com/hashicorp/go-version"
tfaddr "github.com/hashicorp/terraform-registry-address"
"github.com/hashicorp/terraform-schema/backend"
)
type Meta struct {
Path string
Backend *Backend
ProviderReferences map[ProviderRef]tfaddr.Provider
ProviderRequirements map[tfaddr.Provider]version.Constraints
CoreRequirements version.Constraints
Variables map[string]Variable
Outputs map[string]Output
}
type Backend struct {
Type string
Data backend.BackendData
}
type ProviderRef struct {
LocalName string
// If not empty, Alias identifies which non-default (aliased) provider
// configuration this address refers to.
Alias string
}
type ModuleCall struct {
LocalName string
SourceAddr string
Path string
}