cattle-ops / terraform-aws-gitlab-runner

Terraform module for AWS GitLab runners on ec2 (spot) instances
https://registry.terraform.io/modules/cattle-ops/gitlab-runner/aws
MIT License
580 stars 326 forks source link

Support for Amazon Linux 2023 #1137

Closed scamp closed 3 months ago

scamp commented 3 months ago

Describe the solution you'd like

Machine bootstrap procedure needs to be updated for newer AMZ linux releases. Deploying gitlab-runner to Amazon Linux 2.0 can be affected by https://gitlab.com/gitlab-org/gitlab-runner/-/issues/37366

Describe alternatives you've considered

At the moment setting up runner_ami_filter to al2023-ami-2023*-x86_64 does not result in successful deployment. Provisioning script fails at installing awslogs package and times out on retry.

antoniodfr commented 3 months ago

Hi, we have started to have problems with Amazon Linux v2, as it contains Python 3.7, and the new versions of AWS CLI requires Python 3.8. We think supporting Amazon Linux 2023 will solve this problem. Thank you!