neoave / mrack

Multicloud use-case based multihost async provisioner for CIs and testing during development
Apache License 2.0
11 stars 14 forks source link

feat(aws): defining AMIs by tags #162

Closed pvoborni closed 2 years ago

pvoborni commented 2 years ago

rebased on top of: https://github.com/neoave/mrack/pull/161

Add a new way to define an AWS EC2 image in a provisiong config in addition to ami ID.

The following is valid:

images:
  fedora-34: ami-0d3c5199abb29a7ae
  fedora-35: { tag: { name: compose, value: mrack-fedora-35-latest } }

This allows for a seperate tool to upload new image with the same purpose and mrack automatically picks the latest one with the given tag.

Currently only one tag is supported and it searches in all images.

Possible improvements:

Signed-off-by: Petr Vobornik pvoborni@redhat.com

Tiboris commented 2 years ago

Could you rebase please?