forked from operations-relay42/opstest
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpacker.json
More file actions
34 lines (33 loc) · 702 Bytes
/
packer.json
File metadata and controls
34 lines (33 loc) · 702 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": "eu-west-1",
"source_ami": "ami-bbc542c8",
"instance_type": "t2.micro",
"ssh_username": "ubuntu",
"ami_name": "opstest {{timestamp}}"
}],
"provisioners": [
{
"type": "ansible",
"playbook_file": "ansible/bootstrap.yml"
},
{
"type": "ansible",
"playbook_file": "ansible/provision.yml"
}
],
"post-processors": [
{
"type": "manifest",
"output": "manifest.json",
"strip_path": true
}
]
}