Slide 22
Slide 22 text
Exploring
Packer
22
"builders": [
{
"type": "amazon-ebs",
"region": "eu-west-1",
"instance_type": "t2.micro",
"ami_name": "web-{{ isotime \"2006-01-02-15-04\" }}",
}
],
"provisioners": [
{
"type": "file",
"source": "ami-web/awslogs.conf",
"destination": "/tmp/awslogs.conf"
},
{
"type": "shell",
"script": "ami-web/install.sh"
}
]