-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpacker.json
More file actions
44 lines (41 loc) · 1 KB
/
packer.json
File metadata and controls
44 lines (41 loc) · 1 KB
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
{
"description": "Docker-capable AMI for Amazon EC2",
"variables": {
"aws_access_key": "",
"aws_secret_key": "",
"aws_region": "",
"version": "1.7.1",
"revision": "0",
"source_ami": "",
"instance_type": "t2.micro"
},
"builders": [{
"type": "amazon-ebs",
"access_key": "{{user `aws_access_key`}}",
"secret_key": "{{user `aws_secret_key`}}",
"region": "{{user `aws_region`}}",
"source_ami": "{{user `source_ami`}}",
"instance_type": "{{user `instance_type`}}",
"ssh_username": "ubuntu",
"ami_name": "ubuntu-14.04-docker-{{user `version`}}.{{user `revision`}}",
"ami_groups": ["all"],
"ami_regions": [
"us-east-1",
"us-west-1",
"us-west-2",
"ap-southeast-1",
"ap-southeast-2",
"ap-northeast-1",
"sa-east-1",
"eu-west-1",
"eu-central-1"
]
}],
"provisioners": [{
"type": "shell",
"environment_vars": [
"version={{user `version`}}"
],
"scripts": ["provision.sh"]
}]
}