Created
May 19, 2018 10:50
-
-
Save oussemos/ef4c5ab1e2ca77e62939c254c4332acd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"variables" : { | |
"region" : "eu-west-1" | |
}, | |
"builders" : [ | |
{ | |
"type" : "amazon-ebs", | |
"access_key" : "xxxxxxxxxx", | |
"secret_key" : "xxxxxxxxxx", | |
"instance_type" : "t2.micro", | |
"source_ami" : "ami-d834aba1", | |
"ssh_username" : "ec2-user", | |
"ami_name" : "nginx_ren", | |
"ami_description" : "Amazon Linux Image with Nginx", | |
"run_tags" : { | |
"Name" : "packer-builder-docker", | |
"Tool" : "Packer", | |
"Author" : "ouche" | |
} | |
} | |
], | |
"provisioners" : [ | |
{ | |
"type" : "shell", | |
"script" : "./setup.sh" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment