2014-09-08 13:30:10 -04:00
---
layout: "docs"
page_title: "compress Post-Processor"
2014-10-20 16:47:30 -04:00
description: |-
The Packer compress post-processor takes an artifact with files (such as from VMware or VirtualBox) and gzip compresses the artifact into a single archive.
2014-09-08 13:30:10 -04:00
---
# Compress Post-Processor
Type: `compress`
2014-10-20 16:47:30 -04:00
The Packer compress post-processor takes an artifact with files (such as from
2014-09-08 13:30:10 -04:00
VMware or VirtualBox) and gzip compresses the artifact into a single
archive.
## Configuration
The configuration for this post-processor is extremely simple.
* `output` (string) - The path to save the compressed archive.
## Example
An example is shown below, showing only the post-processor configuration:
2014-10-20 13:55:16 -04:00
```javascript
2014-09-08 13:30:10 -04:00
{
"type": "compress",
2014-10-13 15:56:53 -04:00
"output": "foo.tar.gz"
2014-09-08 13:30:10 -04:00
}
2014-10-20 13:55:16 -04:00
```