Our AMI publishing script seemed to be broken (https://github.com/hashicorp/terraform-aws-consul/issues/76). I was struggling to figure out why and realized that Packer can now do most of what that script does with the ami_regions and ami_groups parameters. I made those changes... and then realized that the actual issue was that we were publishing the AMIs to the wrong account (to Phx DevOps rather than our public AMIs account). Doh.
Overall, I think this solution is simpler and better overall, so perhaps my work has not gone to waste.
Our AMI publishing script seemed to be broken (https://github.com/hashicorp/terraform-aws-consul/issues/76). I was struggling to figure out why and realized that Packer can now do most of what that script does with the
ami_regions
andami_groups
parameters. I made those changes... and then realized that the actual issue was that we were publishing the AMIs to the wrong account (to Phx DevOps rather than our public AMIs account). Doh.Overall, I think this solution is simpler and better overall, so perhaps my work has not gone to waste.