mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-08 18:16:44 +00:00
13 lines
282 B
Go
13 lines
282 B
Go
![]() |
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
|
||
|
}
|