aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/github.com/hashicorp/terraform/addrs/path_attr.go
blob: cfc13f4bcd8299d76bfe6d3ce42e370b9e331715 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
package addrs

// PathAttr is the address of an attribute of the "path" object in
// the interpolation scope, like "path.module".
type PathAttr struct {
	referenceable
	Name string
}

func (pa PathAttr) String() string {
	return "path." + pa.Name
}