This repository has been archived by the owner on Sep 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
template.json
50 lines (48 loc) · 1.54 KB
/
template.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"variables": {
"aws_access_key": "",
"aws_secret_key": ""
},
"builders": [{
"type": "amazon-ebs",
"access_key": "{{user `aws_access_key`}}",
"secret_key": "{{user `aws_secret_key` }}",
"region": "us-west-2",
"source_ami": "ami-8ab4dfba",
"instance_type": "c1.medium",
"ssh_username": "ubuntu",
"ami_name": "consul {{timestamp}}"
},
{
"type": "digitalocean",
"image_id": "3101045",
"size_id": "63",
"snapshot_name": "consul {{timestamp}}"
},
{
"type": "openstack",
"username": "",
"password": "",
"provider": "",
"region": "DFW",
"ssh_username": "root",
"image_name": "consul {{timestamp}}",
"source_image": "92f51721-5758-4137-ab05-136bb9470093",
"flavor": "3"
},
{
"type": "googlecompute",
"project_id": "",
"bucket_name": "consul-packer-images",
"client_secrets_file": "google.json",
"private_key_file": "google.pem",
"source_image": "debian-7-wheezy-v20131120",
"zone": "us-central1-a",
"image_name": "consul-{{timestamp}}"
}],
"provisioners": [{
"type": "chef-solo",
"cookbook_paths": ["./vendor/cookbooks"],
"run_list": [ "consul" ]
}]
}