mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-18 17:19:58 +00:00
13 lines
254 B
Go
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
|
||
|
}
|