Skip to content

Commit

Permalink
Merge pull request #9670 from hashicorp/fix_docker-import
Browse files Browse the repository at this point in the history
fix docker-import postprocessor.
  • Loading branch information
SwampDragons authored Jul 30, 2020
2 parents aa9d06d + 713e7a2 commit aaac193
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hcl2template/types.hcl_post-processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit aaac193

Please # to comment.