Skip to content

feat(terraform)!: require Terraform 1.4 - #5261

Draft
edersonbrilhante wants to merge 1 commit into
mainfrom
chore/terraform-1-4-minimum
Draft

feat(terraform)!: require Terraform 1.4#5261
edersonbrilhante wants to merge 1 commit into
mainfrom
chore/terraform-1-4-minimum

Conversation

@edersonbrilhante

@edersonbrilhante edersonbrilhante commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Description

Completes the repository-wide Terraform 1.4 minimum required by the compute-provider validation refactor. The EC2 provider introduced in #5251 already requires Terraform 1.4 for its provider-owned terraform_data validation; this PR raises the root module, examples, and all remaining internal modules to the same minimum.

Updates all three Terraform CI matrices to exercise 1.4.0 and latest. Minimum-version-only steps now use matrix.terraform != 'latest' instead of matching a hard-coded minor version.

Also aligns the Lambda MicroVM modules' AWS provider floor with the EC2 provider at >= 6.33.

This is a breaking change for users still running Terraform 1.3 or older.

Test Plan

  • Rebased the single signed commit onto the focused feat(microvm): add Terraform compute provider #5260 tip with an exact range-diff.
  • Verified the rewritten tip is tree-identical to the previously validated feat(terraform)!: require Terraform 1.4 #5261 tip.
  • Ran recursive formatting validation with Terraform 1.4.6.
  • Ran pre-commit run --all-files (Terraform formatting, TFLint validation, and merge-conflict checks).
  • Parsed .github/workflows/terraform.yml as YAML.
  • Verified all 39 versions.tf files and their generated README requirement rows specify >= 1.4.0.
  • Verified the Lambda MicroVM provider and trust-policy modules and generated documentation require AWS provider >= 6.33.

Related Issues

Depends on #5260. Related to #5252.

@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 1 package(s) with unknown licenses.
See the Details below.

License Issues

lambdas/functions/gh-agent-syncer/package.json

PackageVersionLicenseIssue Type
axios^1.18.1NullUnknown License

OpenSSF Scorecard

PackageVersionScoreDetails
actions/actions/checkout 3d3c42e5aac5ba805825da76410c181273ba90b1 🟢 7
Details
CheckScoreReason
Maintained🟢 1024 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Code-Review🟢 10all changesets reviewed
Binary-Artifacts🟢 10no binaries found in the repo
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
Packaging⚠️ -1packaging workflow not detected
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Pinned-Dependencies🟢 3dependency not pinned by hash detected -- score normalized to 3
Security-Policy🟢 9security policy file detected
SAST🟢 10SAST tool is run on all commits
Branch-Protection🟢 6branch protection is not maximal on development and all release branches
pip/mkdocs-material 9.7.7 UnknownUnknown
actions/actions/checkout 3d3c42e5aac5ba805825da76410c181273ba90b1 🟢 7
Details
CheckScoreReason
Maintained🟢 1024 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Code-Review🟢 10all changesets reviewed
Binary-Artifacts🟢 10no binaries found in the repo
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
Packaging⚠️ -1packaging workflow not detected
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Pinned-Dependencies🟢 3dependency not pinned by hash detected -- score normalized to 3
Security-Policy🟢 9security policy file detected
SAST🟢 10SAST tool is run on all commits
Branch-Protection🟢 6branch protection is not maximal on development and all release branches
actions/actions/checkout 3d3c42e5aac5ba805825da76410c181273ba90b1 🟢 7
Details
CheckScoreReason
Maintained🟢 1024 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Code-Review🟢 10all changesets reviewed
Binary-Artifacts🟢 10no binaries found in the repo
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
Packaging⚠️ -1packaging workflow not detected
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Pinned-Dependencies🟢 3dependency not pinned by hash detected -- score normalized to 3
Security-Policy🟢 9security policy file detected
SAST🟢 10SAST tool is run on all commits
Branch-Protection🟢 6branch protection is not maximal on development and all release branches
npm/axios ^1.18.1 UnknownUnknown
npm/axios 1.18.1 🟢 8
Details
CheckScoreReason
Code-Review🟢 5Found 10/17 approved changesets -- score normalized to 5
Maintained🟢 1030 commit(s) and 12 issue activity found in the last 90 days -- score normalized to 10
Security-Policy🟢 10security policy file detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Binary-Artifacts🟢 10no binaries found in the repo
Token-Permissions🟢 9detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies🟢 6dependency not pinned by hash detected -- score normalized to 6
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection🟢 8branch protection is not maximal on development and all release branches
Packaging🟢 10packaging workflow detected
SAST🟢 10SAST tool is run on all commits
npm/fast-uri 3.1.5 🟢 8.3
Details
CheckScoreReason
Dependency-Update-Tool🟢 10update tool detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Code-Review🟢 6Found 17/26 approved changesets -- score normalized to 6
Security-Policy🟢 10security policy file detected
Maintained🟢 1030 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Binary-Artifacts🟢 10no binaries found in the repo
Packaging⚠️ -1packaging workflow not detected
Pinned-Dependencies🟢 5dependency not pinned by hash detected -- score normalized to 5
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Vulnerabilities🟢 100 existing vulnerabilities detected
SAST🟢 8SAST tool is not run on all commits -- score normalized to 8
License🟢 9license file detected
Signed-Releases⚠️ -1no releases found
Fuzzing⚠️ 0project is not fuzzed
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
CI-Tests🟢 1022 out of 22 merged PRs checked by a CI test -- score normalized to 10
Contributors🟢 10project has 17 contributing companies or organizations
npm/js-yaml 3.15.1 🟢 6
Details
CheckScoreReason
Maintained🟢 1030 commit(s) and 26 issue activity found in the last 90 days -- score normalized to 10
Code-Review⚠️ 0Found 0/30 approved changesets -- score normalized to 0
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Packaging⚠️ -1packaging workflow not detected
Binary-Artifacts🟢 10no binaries found in the repo
SAST⚠️ 0no SAST tool detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Pinned-Dependencies🟢 3dependency not pinned by hash detected -- score normalized to 3
Fuzzing🟢 10project is fuzzed
License🟢 10license file detected
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
Signed-Releases⚠️ -1no releases found
Security-Policy🟢 4security policy file detected

Scanned Files

  • .github/workflows/mkdocs/requirements.txt
  • .github/workflows/ossf-scorecard.yml
  • .github/workflows/terraform.yml
  • .github/workflows/zizmor.yml
  • lambdas/functions/gh-agent-syncer/package.json
  • lambdas/yarn.lock

@edersonbrilhante
edersonbrilhante force-pushed the chore/terraform-1-4-minimum branch 3 times, most recently from 4c2dec4 to e85f171 Compare August 8, 2026 01:46
@edersonbrilhante
edersonbrilhante force-pushed the microvm-multi-runner-terraform branch 2 times, most recently from 0123bf9 to 18a6e92 Compare August 13, 2026 11:13
@edersonbrilhante
edersonbrilhante force-pushed the chore/terraform-1-4-minimum branch from e85f171 to 8d62dd2 Compare August 13, 2026 11:14
@edersonbrilhante
edersonbrilhante force-pushed the microvm-multi-runner-terraform branch from 18a6e92 to 96d2368 Compare August 13, 2026 11:41
@edersonbrilhante
edersonbrilhante force-pushed the chore/terraform-1-4-minimum branch 2 times, most recently from 2e1ca66 to de17ba4 Compare August 13, 2026 12:25
@edersonbrilhante
edersonbrilhante force-pushed the microvm-multi-runner-terraform branch from 96d2368 to d7d5b9c Compare August 13, 2026 12:25
@edersonbrilhante
edersonbrilhante force-pushed the microvm-multi-runner-terraform branch from d7d5b9c to 00cb154 Compare August 14, 2026 13:36
@edersonbrilhante
edersonbrilhante force-pushed the chore/terraform-1-4-minimum branch from de17ba4 to 2d649f5 Compare August 14, 2026 14:00
@edersonbrilhante
edersonbrilhante force-pushed the microvm-multi-runner-terraform branch 4 times, most recently from 652ba90 to d5d9856 Compare August 17, 2026 21:48
BREAKING CHANGE: Terraform 1.4.0 or newer is required by the root module, submodules, and examples.
@edersonbrilhante
edersonbrilhante force-pushed the chore/terraform-1-4-minimum branch from 2d649f5 to 89a2cdc Compare August 19, 2026 18:32
@edersonbrilhante
edersonbrilhante changed the base branch from microvm-multi-runner-terraform to main August 19, 2026 19:04
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