Skip to content

ci: enable all terraform tests - #5486

Open
edersonbrilhante wants to merge 9 commits into
mainfrom
enable-all-tf-tests
Open

edersonbrilhante wants to merge 9 commits into
mainfrom
enable-all-tf-tests

Conversation

@edersonbrilhante

@edersonbrilhante edersonbrilhante commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Description

Dynamically discover Terraform module roots, Terraform example roots, Terraform test modules, and Packer image roots so new targets are included in CI without maintaining static lists. Module discovery includes the repository root and skips test fixtures.

Run Terraform and OpenTofu initialization, formatting, validation, TFLint, and tests across the existing version matrix. Run Packer initialization, formatting, and validation for each discovered image.

Update Lambda CI to use immutable Yarn installation and build the scale-set service image once for its smoke test.

Expand and repair Terraform coverage for EC2 provider contracts, runner configuration, webhook pool and job-retry behavior, and trust-policy validation. Derive compute-provider dispatch from the typed provider configuration.

Test Plan

  • CI runs Terraform and OpenTofu checks for the dynamically discovered modules, examples, and test modules.
  • CI runs Packer checks for every discovered image directory and the Lambda workflow checks.
  • The new commit's CI run is in progress; these workflows were not run locally for this commit.

Related Issues

None

@edersonbrilhante
edersonbrilhante requested review from a team as code owners September 27, 2026 00:01
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

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

Scanned Files

None

@edersonbrilhante
edersonbrilhante enabled auto-merge (squash) September 27, 2026 00:58
@edersonbrilhante

Copy link
Copy Markdown
Contributor Author

@Brend-Smits As agreed days ago. Here is the PR discovering modules to run terraform test.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant