Skip to content

Instantly share code, notes, and snippets.

@edsykes
Created May 20, 2016 20:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edsykes/5d9507cab9365580b9d544f0d5a8f3c2 to your computer and use it in GitHub Desktop.
Save edsykes/5d9507cab9365580b9d544f0d5a8f3c2 to your computer and use it in GitHub Desktop.
{
"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