packer-cn/hcl2template/addrs/input_variable.go

12 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
}