Last active
September 16, 2016 11:11
-
-
Save sirocode/909f9f90bb7756cf3594d1ea3505d645 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"variables": { | |
"aws_access_key": "", | |
"aws_secret_key": "" | |
}, | |
"builders": [{ | |
"name": "build-aws-hmv-ebs", | |
"type": "amazon-chroot", | |
"access_key": "{{user `aws_access_key`}}", | |
"secret_key": "{{user `aws_secret_key`}}", | |
"region": "eu-west-1", | |
"ami_virtualization_type": "hvm", | |
"source_ami": "ami-903a42e3", | |
"ami_name": "packer-example {{timestamp}} coreos", | |
"device_path": "/dev/xvdg", | |
"tags": { | |
"component": "allapps", | |
"version": "404" | |
} | |
}], | |
"provisioners": [{ | |
"type": "shell", | |
"inline": [ | |
"docker pull centos:7" | |
] | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment