Regression in the Amazon Plugin for Packer v1.2.3

A regression to the subnet selection logic when using the subnet_id or subnet_filter along with the associate_public_ip_address configuration argument was introduced in release v1.2.3. A fix has been made and is available for use in v1.2.4.

We recommend that you upgrade to the latest available release prior to running a new Packer build. If you are not using associate_public_ip_address or running an older version of the packer-plugin-amazon plugin no change is necessary.

packer {
    required_plugins {
        amazon = {
              version = ">=1.2.4"
               source  = "github.com/hashicorp/amazon"
        }
    }
}