packer-cn/hcl2template/addrs
Adrien Delorme 91d7332471 add basic code for variable validation parsing
* hcl2template/addrs.ParseRef will parse a reference and tell for example if we
  are referring to a variable and its name, for now it can only do that and in
  the future it improved when we need to most of it is from the TF code. This
  is used to tell wether a variable vas referenced in a variable validation
  condition; for now.
* Added Validations blocks to the hcl2 Variable struct and code to
  parse/validate that.
2020-10-30 12:26:22 +01:00
..
input_variable.go add basic code for variable validation parsing 2020-10-30 12:26:22 +01:00
parse_ref.go add basic code for variable validation parsing 2020-10-30 12:26:22 +01:00
referenceable.go add basic code for variable validation parsing 2020-10-30 12:26:22 +01:00