{"repo":"wata727/packer-plugin-amazon-ami-management","free":true,"listed":false,"github":"https://github.com/wata727/packer-plugin-amazon-ami-management","clone":"git clone https://github.com/wata727/packer-plugin-amazon-ami-management.git","description":"Packer post-processor plugin for Amazon AMI management","language":"Go","stars":107,"topics":["packer","aws","post-processor","ami-management"],"license":"MPL-2.0","category":"deployment-docker-iac","readme_excerpt":"packer-plugin-amazon-ami-management Packer post-processor plugin for Amazon AMI management Description This post-processor cleanups outdated AMIs and EBS snapshots after baking a new AMI. You can configure the quantity or number of days you want to keep them, and the post-processor will delete all unused AMIs (not used in an instance, launch template, or launch configuration) according to your configuration. Installation Packer = v1.7.0 supports third-party plugin installation by init command. You can install the plugin automatically after adding the required plugin block. See the Packer documentation for more details. Usage The following examples is a templates to keep only the latest 3 AMIs. An example with defined option identifier An example with defined option tags Configuration Type: amazon-ami-management Required: - identifier (string) - An identifier of AMIs. This plugin identifies AMIs as managed if the value matches the Amazon AMI Management Identifier tag. - tags (map of strings) - The tags to indetify AMI. It can be used when a single identifier tag is not sufficient. If identifier is set, this parameter is ignored. - keep releases (integer) - The number of AMIs. This value is invalid when keep days is set. - keep days (integer) - The number of days to keep AMIs. For example, if you specify 10 , AMIs created before 10 days will be deleted. This value is invalid when keep releases is set. - regions (array of strings) - A list of regions, such as us-east-1 in which ","default_branch":null,"files":null,"tree":[],"storefront":"/r/wata727","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wata727/packer-plugin-amazon-ami-management/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}