forked from github-aws-runners/terraform-aws-github-runner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlinux-x64-ubuntu.yaml
More file actions
55 lines (55 loc) · 1.49 KB
/
linux-x64-ubuntu.yaml
File metadata and controls
55 lines (55 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
matcherConfig:
exactMatch: true
labelMatchers:
- [self-hosted, linux, x64, ubuntu-latest]
- [self-hosted, linux, x64, ubuntu-2404]
fifo: true
redrive_build_queue:
enabled: false
maxReceiveCount: null
runner_config:
runner_os: linux
runner_architecture: x64
runner_run_as: ubuntu
runner_name_prefix: ubuntu-2404-x64_
enable_ssm_on_runners: true
credit_specification: standard
instance_types:
- t3a.large
- m5ad.large
- m5a.large
runners_maximum_count: 1
delay_webhook_event: 0
scale_down_schedule_expression: cron(* * * * ? *)
userdata_template: ./templates/user-data.sh
ami:
owners:
- "099720109477" # Canonical's Amazon account ID
filter:
name:
- ubuntu/images/hvm-ssd-gp3/ubuntu-noble-24.04-amd64-server-*
state:
- available
block_device_mappings:
- device_name: /dev/sda1
delete_on_termination: true
volume_type: gp3
volume_size: 30
encrypted: true
iops: null
throughput: null
kms_key_id: null
snapshot_id: null
runner_log_files:
- log_group_name: syslog
prefix_log_group: true
file_path: /var/log/syslog
log_stream_name: "{instance_id}"
- log_group_name: user_data
prefix_log_group: true
file_path: /var/log/user-data.log
log_stream_name: "{instance_id}/user_data"
- log_group_name: runner
prefix_log_group: true
file_path: /opt/actions-runner/_diag/Runner_**.log
log_stream_name: "{instance_id}/runner"