Created
April 15, 2016 16:55
-
-
Save chicagobuss/12247fdb94293aadd402f627f9eec596 to your computer and use it in GitHub Desktop.
packer json
This file contains hidden or 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": { | |
| "my_key": "{{ env `HOME`}}/.ssh/id_dsa", | |
| "aws_key": "{{ env `HOME`}}/.ssh/id_aws-test_dsa", | |
| }, | |
| "builders": [{ | |
| "type": "amazon-ebs", | |
| "region": "us-east-1", | |
| "source_ami": "ami-6d1c2007", | |
| "instance_type": "t2.micro", | |
| "ami_name": "packer-centos-base-test {{timestamp}}", | |
| "communicator": "ssh", | |
| "ssh_bastion_host": "basty", | |
| "ssh_bastion_username": "me", | |
| "ssh_bastion_private_key_file": "{{user `my_key`}}", | |
| "ssh_username": "centos", | |
| "ssh_private_key_file": "{{user `aws_key`}}" | |
| }] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment