Add a new AMI variable to the runner module
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you can request access to GitLab Duo.
The goal is to be able to explicitely set which AMI to use for the runner module, just like it's already the case with the fleeting module.
use case 1 : use a custom image with pre-installed toolings
use case 2 : control when to rollout of a new runner manager instance . Especially useful in a production environment when new images need to be tested before rolling out to production. Currently, the module is using the latest ubuntu 20.04 image available, which is causing drifts.
- /modules/aws/runner/prod/runner.tf
- /modules/aws/runner/prod/variables.tf
- /modules/aws/runner/internal/ec2/variables.tf
- /modules/aws/runner/internal/ec2/ec2.tf
Edited by Sylvain Fano