Skip to content

Commit b6e68d7

Browse files
authored
Merge branch 'main' into feat-ssm-runner-matcher-chunking
2 parents bc9eb93 + 42a1f0c commit b6e68d7

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [6.8.1](https://github.com/github-aws-runners/terraform-aws-github-runner/compare/v6.8.0...v6.8.1) (2025-10-04)
4+
5+
6+
### Bug Fixes
7+
8+
* prevent unnecessary updates when cpu_options is unset ([#4806](https://github.com/github-aws-runners/terraform-aws-github-runner/issues/4806)) ([8a1cd6f](https://github.com/github-aws-runners/terraform-aws-github-runner/commit/8a1cd6f5c7a956d15d7eafa9f45ea5405179887a))
9+
310
## [6.8.0](https://github.com/github-aws-runners/terraform-aws-github-runner/compare/v6.7.9...v6.8.0) (2025-10-03)
411

512

modules/runners/main.tf

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,12 @@ resource "aws_launch_template" "runner" {
160160
}
161161
}
162162

163-
cpu_options {
164-
core_count = var.cpu_options != null ? var.cpu_options.core_count : null
165-
threads_per_core = var.cpu_options != null ? var.cpu_options.threads_per_core : null
163+
dynamic "cpu_options" {
164+
for_each = var.cpu_options != null ? [var.cpu_options] : []
165+
content {
166+
core_count = try(cpu_options.value.core_count, null)
167+
threads_per_core = try(cpu_options.value.threads_per_core, null)
168+
}
166169
}
167170

168171
monitoring {

0 commit comments

Comments
 (0)