diff --git a/tools/terraform-bundle/package.go b/tools/terraform-bundle/package.go index b21626aa5..82e43ee88 100644 --- a/tools/terraform-bundle/package.go +++ b/tools/terraform-bundle/package.go @@ -234,6 +234,7 @@ func (c *PackageCommand) Run(args []string) int { c.ui.Error(fmt.Sprintf("Failed to add zip entry for %s: %s", fn, err)) return 1 } + hdr.Method = zip.Deflate // be sure to compress files w, err := outZ.CreateHeader(hdr) if err != nil { c.ui.Error(fmt.Sprintf("Failed to add zip entry for %s: %s", fn, err))