hashicorp / packer-plugin-amazon

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

common: move deprecation_time to AMIConfig #482

Closed lbajolet-hashicorp closed 5 months ago

lbajolet-hashicorp commented 5 months 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