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

// CountAttr is the address of an attribute of the "count" object in
// the interpolation scope, like "count.index".
type CountAttr struct {
	referenceable
	Name string
}

func (ca CountAttr) String() string {
	return "count." + ca.Name
}