Skip to content

ci: enable all terraform tests - #5486

Merged
edersonbrilhante merged 16 commits into
mainfrom
enable-all-tf-tests
Oct 14, 2026
Merged

edersonbrilhante merged 16 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.

Comment thread .github/workflows/lambda.yml Resolved
@edersonbrilhante
edersonbrilhante merged commit fba5e8c into main Oct 14, 2026
96 of 97 checks passed
@edersonbrilhante
edersonbrilhante deleted the enable-all-tf-tests branch October 14, 2026 16:45
edersonbrilhante pushed a commit that referenced this pull request Oct 19, 2026
fixes #5524

#5486 consolidated the two docker builds into one amd64 build for the
smoke test, which dropped arm64 coverage. since the ecs module still
supports `ecs.task.cpu_architecture = "ARM64"`, arch-specific dockerfile
failures could pass ci silently now.

this adds back a dedicated arm64 build step (build-only, no push/load)
while keeping the amd64 image for the smoke test exactly as-is. qemu is
already set up in the job so the emulated build works.
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.

2 participants