-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpacker.json
More file actions
34 lines (34 loc) · 797 Bytes
/
packer.json
File metadata and controls
34 lines (34 loc) · 797 Bytes
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
{
"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-east-1",
"source_ami": "ami-763a311e",
"instance_type": "g2.2xlarge",
"ssh_username": "ubuntu",
"spot_price": "0.2",
"ami_name": "cuda-and-docker {{timestamp}}",
"availability_zone": "us-east-1d",
"launch_block_device_mappings": [
{
"device_name": "/dev/sda1",
"volume_type": "standard",
"volume_size": 8,
"delete_on_termination": true
}
]
}
],
"provisioners": [
{
"type": "shell",
"script": "packer-provision.sh"
}
]
}