Build Packer with a different Amazon Plugin Version

Is it possible to reference a different plugin version with packer 1.8.6 instead of the default one pointing to 1.21? If not, are there any docs to compile packer itself with that version of the amazon plugin?

I would like to test this release Release v1.2.2 · hashicorp/packer-plugin-amazon · GitHub
ebs: add support for fast-launch by @lbajolet-hashicorp in https://github.com/hashicorp/packer-plugin-amazon/pull/347

Hi ! unless i misunderstood but it should be easy to do that, according to the example below

Just make a required_plugins block with the one you need and specify version 1.2.1 :slight_smile:

I tested this one and it works:

packer {
  required_plugins {
    packer-plugin-amazon = {
      version = "= 1.2.1"
      source = "github.com/hashicorp/amazon"
    }
  }
}
1 Like