hashicorp / packer-plugin-amazon

Packer plugin for Amazon AMI Builder
https://www.packer.io/docs/builders/amazon
Mozilla Public License 2.0
69 stars 104 forks source link

common: move deprecation_time to AMIConfig #482

Closed lbajolet-hashicorp closed 1 month ago

lbajolet-hashicorp commented 1 month ago

Since the depreciation_time attribute implies being able to deprecate an AMI after a specific date, it should apply to any builder able to produce AMIs, that is everything but ebsvolume.

So this commit moves that to common, so all the builders (ebs, ebssurrogate, chroot and instance) are able to support it.

Closes #478