hashicorp/packer with post processor for AMI management
141
This post-processor assists your AMI management. It deletes old AMI and EBS snapshot using amazon-ebs builder's access configuration after baking a new AMI.
https://github.com/wata727/packer-post-processor-amazon-ami-management
#### Example ####
{
"builders": [{
"type": "amazon-ebs",
"region": "us-east-1",
"source_ami": "ami-6869aa05",
"instance_type": "t2.micro",
"ssh_username": "ec2-user",
"ssh_pty": "true",
"ami_name": "packer-example {{timestamp}}",
"tags": {
"Amazon_AMI_Management_Identifier": "packer-example"
}
}],
"provisioners":[{
"type": "shell",
"inline": [
"echo 'running...'"
]
}],
"post-processors":[{
"type": "amazon-ami-management",
"regions": ["us-east-1"],
"identifier": "packer-example",
"keep_releases": "3"
}]
}
Content type
Image
Digest
Size
63.7 MB
Last updated
about 8 years ago
docker pull enta/packer-ami-management:light