Skip to content

fix(deps): deprecated terratest functions and add context#380

Merged
imprateeksh merged 2 commits into
mainfrom
fix_terratest_context_deprecations
May 21, 2026
Merged

fix(deps): deprecated terratest functions and add context#380
imprateeksh merged 2 commits into
mainfrom
fix_terratest_context_deprecations

Conversation

@mukulpalit-ibm

@mukulpalit-ibm mukulpalit-ibm commented May 20, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

  • Updates the test files to address the context plumbing changes in the gruntwork/terratest package version1.0.0
    release notes
Package Change Age Confidence Type Update
github.com/gruntwork-io/terratest v0.56.0v1.0.0 age confidence require major
github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.70.3v1.70.5 age confidence require patch
terraform-ibm-modules/kms-all-inclusive/ibm (source) 5.6.45.6.5 age confidence module patch
time (source) 0.13.10.14.0 age confidence required_provider minor

@mukulpalit-ibm
mukulpalit-ibm requested a review from iamar7 as a code owner May 20, 2026 05:47
@mukulpalit-ibm

Copy link
Copy Markdown
Contributor Author

This automated PR resolves golangci-lint/staticcheck SA1019 errors by migrating deprecated Terratest functions across all Go files to their modern context-aware variants (adding context.Background()), based strictly on a whitelist-controlled mapping configuration. Targeted merge base: main (Branched off renovate/dependencies).

@mukulpalit-ibm

Copy link
Copy Markdown
Contributor Author

/run pipeline

@imprateeksh
imprateeksh merged commit 3cedca1 into main May 21, 2026
2 checks passed
@imprateeksh
imprateeksh deleted the fix_terratest_context_deprecations branch May 21, 2026 05:30
@terraform-ibm-modules-ops

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.18.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants