mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-16 16:20:02 +00:00
dbf9188792
```bash GO111MODULE=on go get github.com/hashicorp/terraform@pluginsdk-v0.12-early7 GO111MODULE=on go mod vendor GO111MODULE=on go mod tidy ```
13 lines
249 B
Go
13 lines
249 B
Go
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
|
|
}
|