Merge pull request #9670 from hashicorp/fix_docker-import
fix docker-import postprocessor.
This commit is contained in:
commit
aaac193880
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue