fix uint8

This commit is contained in:
Megan Marsh 2021-01-22 12:32:07 -08:00
parent ea7fef699f
commit a8c8d247bb
1 changed files with 2 additions and 0 deletions

View File

@ -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: