Skip to content

feat(scale-set): add scale set orchestration in Terraform - #5299

Draft
edersonbrilhante wants to merge 1 commit into
add-multi-runner-v2-examplefrom
feat-scale-set-terraform
Draft

feat(scale-set): add scale set orchestration in Terraform#5299
edersonbrilhante wants to merge 1 commit into
add-multi-runner-v2-examplefrom
feat-scale-set-terraform

Conversation

@edersonbrilhante

@edersonbrilhante edersonbrilhante commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Description

Adds the internal scale-set orchestration provider for experimental multi-runner v2. It groups runner configurations into controller groups, with grouping by compute-provider type, runner configuration, or explicit custom membership, and validates ownership uniqueness across normalized GitHub URL and scale-set ID pairs.

For each controller group, the module creates the ECS Fargate cluster/service/task definition, task and execution roles, log group, security group, and controller runtime configuration. It writes one non-secret SSM reconciler parameter per runner configuration, passes only credential parameter references to the task, applies the selected compute-provider's opaque runtime and IAM contract, and validates plan-known grouping, configuration size, and IAM policy limits. The module adopts existing GitHub scale sets; it does not create or delete the GitHub scale-set resources themselves.

Test Plan

  • Ran terraform fmt -check -recursive
  • Repository Terraform pre-commit validation passed during commit.

Related Issues

None.

@edersonbrilhante
edersonbrilhante requested review from a team as code owners August 26, 2026 10:44
@github-actions

github-actions Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@edersonbrilhante
edersonbrilhante marked this pull request as draft August 26, 2026 13:59
@edersonbrilhante
edersonbrilhante changed the base branch from experimental-multi-runner-config-v2-20260805 to refactor-runner-config-module September 3, 2026 19:59
@edersonbrilhante
edersonbrilhante changed the base branch from refactor-runner-config-module to experimental-multi-runner-config-v2-20260805 September 3, 2026 20:05
@edersonbrilhante
edersonbrilhante changed the base branch from experimental-multi-runner-config-v2-20260805 to fix-multi-runner-v2-routing September 3, 2026 20:21
@edersonbrilhante edersonbrilhante changed the title feat(scale-set): add ECS orchestration feat(scale-set): add scale set orchestration in Terraform Sep 3, 2026
@edersonbrilhante
edersonbrilhante force-pushed the feat-scale-set-terraform branch 2 times, most recently from 5ab14e1 to 4375247 Compare September 3, 2026 21:13
@edersonbrilhante
edersonbrilhante changed the base branch from fix-multi-runner-v2-routing to microvm-multi-runner-terraform September 3, 2026 22:03
@edersonbrilhante
edersonbrilhante changed the base branch from microvm-multi-runner-terraform to microvm-multi-runner-integration-split September 3, 2026 22:04
@edersonbrilhante
edersonbrilhante changed the base branch from microvm-multi-runner-integration-split to fix-multi-runner-v2-routing September 3, 2026 22:04
@edersonbrilhante
edersonbrilhante changed the base branch from fix-multi-runner-v2-routing to remove-v2-legacy-input-requirements September 4, 2026 18:08
@edersonbrilhante
edersonbrilhante changed the base branch from remove-v2-legacy-input-requirements to add-multi-runner-v2-example September 4, 2026 18:10
@edersonbrilhante
edersonbrilhante changed the base branch from add-multi-runner-v2-example to main September 4, 2026 18:12
@edersonbrilhante
edersonbrilhante changed the base branch from main to add-multi-runner-v2-example September 4, 2026 18:12
@edersonbrilhante
edersonbrilhante marked this pull request as ready for review September 4, 2026 21:38
@edersonbrilhante
edersonbrilhante marked this pull request as draft September 4, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant