Overview
We need to bump aws-actions/configure-aws-credentials from @v4 to @v6 and dflook/terraform-plan/dflook/terraform-apply from @v1 to @v3 in both Terraform workflows, because configure-aws-credentials@v4 runs on the deprecated Node 20 and the dflook pins are four releases behind, including a fix for terraform-apply wrongly aborting on a plan that contains both imports and warnings.
Action Items
aws-actions/configure-aws-credentials — @v4 to @v6, 2 lines:
dflook/terraform-plan and dflook/terraform-apply — @v1 to @v3, 2 lines:
Out of scope — do not change these here:
Verification — read this before opening the PR, it is the awkward part:
Resources/Instructions
Overview
We need to bump
aws-actions/configure-aws-credentialsfrom@v4to@v6anddflook/terraform-plan/dflook/terraform-applyfrom@v1to@v3in both Terraform workflows, becauseconfigure-aws-credentials@v4runs on the deprecated Node 20 and thedflookpins are four releases behind, including a fix forterraform-applywrongly aborting on a plan that contains both imports and warnings.Action Items
aws-actions/configure-aws-credentials—@v4to@v6, 2 lines:.github/workflows/terraform-plan.yaml:25and.github/workflows/terraform-apply.yaml:25.action.ymlat each tag: v3 = node16, v4 = node20, v5 = node20, v6 = node24. Only v6 clears the Node 20 deprecation. This repo was previously described as the "good" state that incubator's@v3should be brought up to — that was wrong,@v4here is deprecated too.actions/checkoutin Bump actions/checkout to v5 across devops, devops-security and incubator devops#183, which deliberately stops at v5 rather than going current. The two look inconsistent and are not: forcheckoutan intermediate version already reaches Node 24, and for this action nothing below v6 does.dflook/terraform-plananddflook/terraform-apply—@v1to@v3, 2 lines:terraform-plan.yaml:32(dflook/terraform-plan@v1) andterraform-apply.yaml:32(dflook/terraform-apply@v1).@v1is a floating tag, so this is less stale than it looks — it resolves to v1.49.0 (2025-05-29), not the 2021 release. Latest is v3.0.0 (2026-07-18). The honest framing is four missed releases, not "two majors behind".runs: using: docker), so no JS runtime is involved. That is why going straight to current is fine here.var:input (v2.0.0), and neither workflow uses it — they pass onlypath,backend_config_fileandauto_approve, all still present at v3.0.0. The real risk is the debian 11 → 12 → 13 base-image bump.Out of scope — do not change these here:
actions/checkout@v4at line 23 of both files belongs to Bump actions/checkout to v5 across devops, devops-security and incubator devops#183. Leave it alone. If Bump actions/checkout to v5 across devops, devops-security and incubator devops#183's devops-security PR has already merged, rebase; if it has not, whoever merges second rebases. Same two files, adjacent lines.Verification — read this before opening the PR, it is the awkward part:
paths: ['**/*.tf']only, so a PR that changes only.github/workflows/*.yamltriggers neither plan nor apply and shows no checks at all. That is expected, not a failure — and it means this change is not self-testing the way the equivalent incubator work (Bump aws-actions/configure-aws-credentials from v3 to v6 in incubator's Terraform workflows incubator#158, Bump dflook/terraform-plan and terraform-apply from v1 to v3 in incubator's Terraform workflows incubator#159) was..tffile (a comment line). Treat an empty plan as a hard gate: if the plan shows any resource change, stop and raise it rather than merging.terraform-apply.yamlruns a realterraform applyagainst AWS on push tomain. Confirm that run succeeds and carries no "Node.js 20 is deprecated" annotation. This cannot be checked from the branch.Resources/Instructions
main):.github/workflows/terraform-plan.yaml,.github/workflows/terraform-apply.yamluses:line rather than by position.configure-aws-credentials— the very line this ticket bumps. If that work starts before this is picked up, fold this in and close this issue as covered rather than editing the same lines twice.actions/checkoutin the same files), Bump aws-actions/configure-aws-credentials from v3 to v6 in incubator's Terraform workflows incubator#158 (sameconfigure-aws-credentialsbump, already ticketed), Bump dflook/terraform-plan and terraform-apply from v1 to v3 in incubator's Terraform workflows incubator#159 (samedflookbump, already ticketed).