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

// TerraformAttr is the address of an attribute of the "terraform" object in
// the interpolation scope, like "terraform.workspace".
type TerraformAttr struct {
	referenceable
	Name string
}

func (ta TerraformAttr) String() string {
	return "terraform." + ta.Name
}