RedHatGov / redhatgov.workshops

This is a collection of Ansible-deployed workshop environments. Use it in combination with the student workbook content, from the repo at https://github.com/RedHatGov/redhatgov.github.io
http://redhatgov.io
64 stars 69 forks source link

RHEL_AWS: " enable auto-selection of RHEL and Windows AMIs" breaks RHEL 8 workshop deployment #185

Open benblasco opened 2 years ago

benblasco commented 2 years ago

The change at the following PR causes deployment of the RHEL_AWS workshop to break when an account does not have Cloud Access enabled:

https://github.com/RedHatGov/redhatgov.workshops/pull/178

This is because the file https://github.com/RedHatGov/redhatgov.workshops/tree/master/ansible_tower_aws/roles/aws.create/tasks/main.yml searches for AMIs that match --filters "Name=name,Values={{ rhel_ver }}*x86_64*Access2*". The word "Access" in that filter means that is only looking for Cloud Access images, and none will be available unless the user has enabled cloud access at console.redhat.com ahead of provisioning the workshop.

Steps to reproduce

Proposed solution