Repository navigation
refactor(multi-runner): consume effective configuration - #5342
Merged
Merged
Conversation
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
edersonbrilhante
force-pushed
the
replace-legacy-config-consumers
branch
2 times, most recently
from
September 3, 2026 18:14
033527a to
cf49c59
Compare
edersonbrilhante
marked this pull request as ready for review
September 3, 2026 18:32
edersonbrilhante
force-pushed
the
replace-legacy-config-consumers
branch
from
September 3, 2026 19:02
29643bc to
2c7202c
Compare
edersonbrilhante
force-pushed
the
replace-legacy-config-consumers
branch
from
September 3, 2026 19:30
2c7202c to
e54c5dd
Compare
edersonbrilhante
force-pushed
the
replace-legacy-config-consumers
branch
from
September 3, 2026 19:45
e54c5dd to
c8bbc3d
Compare
edersonbrilhante
force-pushed
the
replace-legacy-config-consumers
branch
from
September 3, 2026 20:12
c22c7a7 to
3f04604
Compare
edersonbrilhante
force-pushed
the
replace-legacy-config-consumers
branch
from
September 3, 2026 21:11
3f04604 to
27337b9
Compare
edersonbrilhante
force-pushed
the
replace-legacy-config-consumers
branch
from
September 4, 2026 17:59
7b89929 to
a555fdd
Compare
edersonbrilhante
force-pushed
the
replace-legacy-config-consumers
branch
from
September 7, 2026 15:00
a555fdd to
bd7bf0b
Compare
edersonbrilhante
force-pushed
the
replace-legacy-config-consumers
branch
from
September 8, 2026 15:16
311d279 to
25af7e2
Compare
edersonbrilhante
force-pushed
the
replace-legacy-config-consumers
branch
from
September 8, 2026 15:41
25af7e2 to
a0a3532
Compare
edersonbrilhante
force-pushed
the
replace-legacy-config-consumers
branch
from
September 8, 2026 16:07
a0a3532 to
524ad6d
Compare
edersonbrilhante
force-pushed
the
replace-legacy-config-consumers
branch
from
September 8, 2026 16:11
524ad6d to
9e7d0f7
Compare
edersonbrilhante
added a commit
that referenced
this pull request
Sep 8, 2026
## Description Adds the internal AWS EC2 compute-provider module and its trust-policy submodule. The provider owns EC2 runner instances, launch templates, networking, AMI selection, logging, bootstrap configuration, instance profiles, runner IAM policy fragments, and compute-provider validation. The module exposes a typed provider contract for runner-config and orchestration consumers while keeping shared runner composition and orchestration outside the EC2 implementation. ### Compatibility decision The experimental v2 EC2 provider intentionally remains separate from the stable `modules/runners` implementation. It owns its own Terraform resource definitions and copies of the runner bootstrap templates so the provider boundary can evolve without changing the stable module's public contract, resource graph, state addresses, or deployed behavior. This creates temporary Terraform and template duplication, which increases review and maintenance effort and requires equivalent fixes to be evaluated in both implementations. Consolidation is deferred until stable v1 is deprecated and a migration can be designed and verified independently. ADR-002 records the decision and alternatives. The ten copied template bodies match the stable templates. Eight are byte-identical; `cloudwatch_config.json` and `user-data.ps1` differ only by a final newline. ## Test Plan - Repository Terraform formatting, validation/TFLint, and merge-conflict checks - EC2 provider and trust-policy Terraform tests are included in the PR - Compared all ten EC2 provider templates with `modules/runners/templates`; eight are byte-identical and two have only a final-newline difference - `git diff --check` - Local provider-plugin handshake prevented a complete test run on macOS arm64 ## Related Issues Depends on #5342. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
local.effective_configacross the multi-runner AMI housekeeper, queues, runners, SSM, webhook, and termination-watcher resources.Test Plan
terraform fmt -recursiveterraform validateinmodules/multi-runnerterraform testinmodules/multi-runner— 6 passed, 0 failedRelated Issues
Depends on #5340.