2023-04-10 15:36:59 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2020-11-09 19:35:02 +00:00
|
|
|
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
|
|
|
|
}
|