Overview of the Terraform AWS GitLab Runner module
mainThis Terraform module automates the deployment of GitLab Runners on AWS, specifically optimized for using Spot Instances to reduce EC2 costs. It utilizes the docker+machine executor to scale builds automatically.
Key features include:
- Spot Instance Support: Uses spot instances by default for build executors.
- Shared S3 Cache: Provides an S3 bucket for shared caching across runners with configurable lifecycle management to clean up old objects.
- CloudWatch Logging: Automatically streams runner logs to AWS CloudWatch.
- Automatic Registration: Runner agents are automatically registered with GitLab.
Note: If you are upgrading from older versions, refer to the migration guides for v7 (issue 819) and v8 (pr 1204).