From ec95254388463f23ec283987562c4bb7689fc3d2 Mon Sep 17 00:00:00 2001 From: satya <38804803+satyamuralidhar@users.noreply.github.com> Date: Sat, 18 Jul 2020 20:47:53 +0530 Subject: [PATCH] Create apache.json --- examples/apache server/apache.json | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 examples/apache server/apache.json diff --git a/examples/apache server/apache.json b/examples/apache server/apache.json new file mode 100644 index 000000000..331f21138 --- /dev/null +++ b/examples/apache server/apache.json @@ -0,0 +1,34 @@ + + + +{ + "variables": + { + "accesskey": "", + "secretkey": "", + "shellpath": "packages.sh" + }, + "builders":[ + { + "type": "amazon-ebs", + "access_key": "{{user `accesskey`}}", + "secret_key": "{{user `secretkey`}}", + "region": "ap-south-1", + "source_ami": "ami-sa7608343426b", + "instance_type": "t2.micro", + "ssh_username": "ubuntu", + "ami_name": "apache", + "tags": { + "OS_Version": "Ubuntu", + "Release": "Latest" + } + } + ], + "provisioners":[ + { + "type": "shell", + "script": "{{user `shellpath`}}" + } + ] + +}