mirror of
https://github.com/hashicorp/terraform.git
synced 2026-02-18 18:29:44 -05:00
This gives us a convenient way to convert back to a string representation that matches what the user would've written in configuration.
11 lines
195 B
Go
11 lines
195 B
Go
package addrs
|
|
|
|
// InputVariable is the address of an input variable.
|
|
type InputVariable struct {
|
|
referenceable
|
|
Name string
|
|
}
|
|
|
|
func (v InputVariable) String() string {
|
|
return "var." + v.Name
|
|
}
|