terraform-provider-google/vendor/github.com/hashicorp/terraform/addrs/count_attr.go
2018-12-26 10:59:22 -08:00

13 lines
254 B
Go

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
}