forked from bijukunjummen/shopping-cart-cf-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathboot.json
24 lines (24 loc) · 787 Bytes
/
boot.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
{
"variables": {
"aws_access_key": "",
"aws_secret_key": "",
"source_ami" : ""
},
"builders": [{
"name" : "boot-sample",
"type" : "amazon-ebs",
"ami_name" : "boot-ami {{timestamp}}",
"source_ami" : "{{user `source_ami`}}",
"instance_type": "m3.medium",
"region" : "us-west-2",
"ssh_timeout" : "5m",
"ssh_username" : "ec2-user",
"access_key" : "{{user `aws_access_key`}}",
"secret_key" : "{{user `aws_secret_key`}}",
"user_data_file" : "start-boot-user-data"
}],"provisioners": [{
"type": "file",
"source": "target/sample-pso-cf-app-1.0.0.jar",
"destination": "/home/ec2-user/sample-pso-cf-app-1.0.0.jar"
}]
}