Created
May 20, 2016 20:16
-
-
Save edsykes/5d9507cab9365580b9d544f0d5a8f3c2 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": "", | |
"account_id": "", | |
"x509_cert_path": "", | |
"x509_key_path": "" | |
}, | |
"builders": [ | |
{ | |
"type": "amazon-instance", | |
"access_key": "{{user `aws_access_key`}}", | |
"secret_key": "{{user `aws_secret_key`}}", | |
"region": "eu-west-1", | |
"source_ami": "ami-29eb7e5a", | |
"instance_type": "t2.micro", | |
"winrm_username": "packer", | |
"winrm_password": "FooBar@123", | |
"communicator": "winrm", | |
"user_data_file": "bootstrap-aws.txt", | |
"security_group_id": "sg-6942e00e", | |
"account_id": "{{user `account_id`}}", | |
"s3_bucket": "account_merge", | |
"x509_cert_path": "{{user `x509_cert_path`}}", | |
"x509_key_path": "{{user `x509_key_path`}}", | |
"x509_upload_path": "/tmp", | |
"ami_name": "account_merge_ngc_address_adapter {{timestamp}}" | |
} | |
], | |
"provisioners": [ | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment