mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
e5dfa17433
This gives us a convenient way to convert back to a string representation that matches what the user would've written in configuration.
12 lines
184 B
Go
12 lines
184 B
Go
package addrs
|
|
|
|
// LocalValue is the address of a local value.
|
|
type LocalValue struct {
|
|
referenceable
|
|
Name string
|
|
}
|
|
|
|
func (v LocalValue) String() string {
|
|
return "local." + v.Name
|
|
}
|