Merge pull request #9670 from hashicorp/fix_docker-import

fix docker-import postprocessor.
This commit is contained in:
Megan Marsh 2020-07-30 11:09:09 -07:00 committed by GitHub
commit aaac193880
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ func (p *HCL2PostProcessor) HCL2Prepare(buildVars map[string]interface{}) error
buildValues[k] = cty.NumberIntVal(v)
case uint64:
buildValues[k] = cty.NumberUIntVal(v)
case bool:
buildValues[k] = cty.BoolVal(v)
default:
return fmt.Errorf("unhandled buildvar type: %T", v)
}