Skip to content

feat(compute-providers): add AWS EC2 provider modules - #5343

Open
edersonbrilhante wants to merge 3 commits into
replace-legacy-config-consumersfrom
refactor-compute-provider-modules
Open

feat(compute-providers): add AWS EC2 provider modules#5343
edersonbrilhante wants to merge 3 commits into
replace-legacy-config-consumersfrom
refactor-compute-provider-modules

Conversation

@edersonbrilhante

@edersonbrilhante edersonbrilhante commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Description

Adds the internal AWS EC2 compute-provider module used by provider-oriented runner configuration. It owns the EC2 launch template, runner security group, instance profile or external-profile integration, AMI selection, bootstrap SSM parameters, runner log groups, and EC2-specific IAM policy documents for runner creation, scale-up, scale-down, and pool operations.

The module returns a nested provider contract containing EC2 Lambda environment variables, policy fragments, launch-template/log-group resources, and runner file metadata for runner-config to consume. It validates supported runner operating systems, name-prefix limits, instance allocation settings, binary-sync prerequisites, and incompatible external IAM selections while leaving common runner roles and orchestration resources to the parent modules.

Test Plan

  • Repository pre-commit checks passed: Terraform fmt, Terraform validate with TFLint, and merge-conflict checks.
  • terraform test could not complete in this environment because the downloaded AWS provider failed its plugin handshake on macOS arm64.

Related Issues

Depends on #5342

Part of the three-PR provider-boundary split from #5251.

@edersonbrilhante
edersonbrilhante requested a review from a team as a code owner September 3, 2026 19:05
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

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

Scanned Files

None

@edersonbrilhante
edersonbrilhante requested a review from a team as a code owner September 3, 2026 19:30
@edersonbrilhante
edersonbrilhante force-pushed the refactor-compute-provider-modules branch from bf422c7 to 9d01b81 Compare September 3, 2026 20:14
@edersonbrilhante
edersonbrilhante force-pushed the refactor-compute-provider-modules branch 3 times, most recently from 6c1cb2e to ef7ef08 Compare September 3, 2026 21:51
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