buildkite / elastic-ci-stack-for-aws

An auto-scaling cluster of build agents running in your own AWS VPC
https://buildkite.com/docs/quickstart/elastic-ci-stack-aws
MIT License
418 stars 272 forks source link

Restore "Packer Builder" tag for Packer instances #1307

Closed steveh closed 6 months ago

steveh commented 6 months ago

The Amazon packer builder plugin removed this default tag in v1.0.9. We don't pin or lock a specific version of the plugin so I'm not sure when we began using it, but on at least one occasion, a CI build was killed before Packer finished running and terminated the instance.

Because it was not tagged, it was also not terminated up by cleanup.sh which would normally occur after the next successful build.

This PR restores the default tag so it can be cleaned up.