fix uint8
This commit is contained in:
parent
ea7fef699f
commit
a8c8d247bb
|
@ -40,6 +40,8 @@ func (p *HCL2Provisioner) HCL2Prepare(buildVars map[string]interface{}) error {
|
|||
switch v := v.(type) {
|
||||
case string:
|
||||
buildValues[k] = cty.StringVal(v)
|
||||
case uint8:
|
||||
buildValues[k] = cty.NumberUIntVal(v)
|
||||
case int64:
|
||||
buildValues[k] = cty.NumberIntVal(v)
|
||||
case uint64:
|
||||
|
|
Loading…
Reference in New Issue