Skip to content

chore(deps): update module github.com/gruntwork-io/terratest to v0.56.0#3249

Open
renovate-bot wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
renovate-bot:renovate/cli-github.com-gruntwork-io-terratest-0.x
Open

chore(deps): update module github.com/gruntwork-io/terratest to v0.56.0#3249
renovate-bot wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
renovate-bot:renovate/cli-github.com-gruntwork-io-terratest-0.x

Conversation

@renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Oct 27, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/gruntwork-io/terratest v0.50.0v0.56.0 age confidence

Release Notes

gruntwork-io/terratest (github.com/gruntwork-io/terratest)

v0.56.0

Compare Source

✨ New Features

CreateJobFromCronJob and CreateJobFromCronJobE added.

The CreateJobFromCronJob and CreateJobFromCronJobE functions support creating Kubernetes cron jobs in a given namespace. This mirrors the behavior of the kubectl create job ... --from=cronjob/... command and provides a native way to trigger and test CronJob configurations within Terratest.

Special thanks to @​steffas for contributing this feature.

🐛 Bug Fixes

Preserve existing instance metadata in SetMetadata

Updates the newMetadata function to properly copy existing metadata items before applying new key-value pairs. This resolves an issue introduced in v0.55.0 where functions like SetMetadata and AddSshKey were accidentally overwriting all existing instance metadata instead of merging the new values.

Plan output parsing for Terraform 1.14+ fixed

Removes the trailing period requirement from the planWithChangesRegexp regular expression used by GetResourceCount. This resolves parsing failures caused by Terraform 1.14's new Actions feature, which appends additional text (e.g., . Actions: N to invoke.) to the standard plan summary line.

Update CronJob to use the batch/v1 API

Updates the CronJob implementation under the hood to use the stable batch/v1 API instead of batch/v1beta1. This restores compatibility with modern Kubernetes clusters, as the older v1beta1 API was completely removed in Kubernetes 1.25.

📖 Documentation Updates

Homepage examples for Terragrunt updated

Examples relevant to Terragrunt have been fixed in the https://terragrunt.gruntwork.io site.

⚙️ Process Updates

Golang bumped to 1.26

The version of Golang in go.mod has been updated to 1.26.

What's Changed

New Contributors

Full Changelog: gruntwork-io/terratest@v0.55.0...v0.56.0

v0.55.0

Compare Source

What's Changed

Full Changelog: gruntwork-io/terratest@v0.54.0...v0.55.0

v0.54.0

Compare Source

What's Changed

Full Changelog: gruntwork-io/terratest@v0.53.0...v0.54.0

v0.53.0

Compare Source

What's Changed

Full Changelog: gruntwork-io/terratest@v0.52.0...v0.53.0

v0.52.0

Compare Source

What's Changed

New Contributors

Full Changelog: gruntwork-io/terratest@v0.51.0...v0.52.0

v0.51.0

Compare Source

What's Changed

Full Changelog: gruntwork-io/terratest@v0.50.0...v0.51.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot requested review from a team and q2w as code owners October 27, 2025 20:15
@forking-renovate forking-renovate bot added the dependencies Pull requests that update a dependency file label Oct 27, 2025
@forking-renovate
Copy link

forking-renovate bot commented Oct 27, 2025

ℹ Artifact update notice

File name: cli/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 20 additional dependencies were updated

Details:

Package Change
golang.org/x/text v0.30.0 -> v0.31.0
github.com/emicklei/go-restful/v3 v3.11.0 -> v3.12.2
github.com/go-openapi/jsonpointer v0.20.0 -> v0.21.0
github.com/go-openapi/swag v0.22.4 -> v0.23.0
github.com/google/gnostic-models v0.6.8 -> v0.7.0
github.com/modern-go/reflect2 v1.0.2 -> v1.0.3-0.20250322232337-35a7c28c31ee
golang.org/x/crypto v0.43.0 -> v0.45.0
golang.org/x/mod v0.28.0 -> v0.29.0
golang.org/x/net v0.46.0 -> v0.47.0
golang.org/x/sync v0.17.0 -> v0.18.0
golang.org/x/sys v0.37.0 -> v0.38.0
golang.org/x/term v0.36.0 -> v0.37.0
golang.org/x/tools v0.37.0 -> v0.38.0
k8s.io/api v0.28.4 -> v0.34.0
k8s.io/apimachinery v0.28.4 -> v0.34.0
k8s.io/client-go v0.28.4 -> v0.34.0
k8s.io/klog/v2 v2.100.1 -> v2.130.1
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 -> v0.0.0-20250710124328-f3f2b991d03b
k8s.io/utils v0.0.0-20230726121419-3b25d923346b -> v0.0.0-20250604170112-4c0f3b243397
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd -> v0.0.0-20241014173422-cfa47c3a1cc8

@dpebot
Copy link
Collaborator

dpebot commented Oct 27, 2025

/gcbrun

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @renovate-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the github.com/gruntwork-io/terratest module to its v0.51.0 release, bringing a suite of new features and improvements primarily focused on terragrunt integration, such as enhanced stack command support and argument handling. Additionally, it includes significant upgrades to Kubernetes client libraries and other indirect Go dependencies, ensuring the project benefits from the latest fixes and functionalities across its dependency tree.

Highlights

  • terratest Module Update: The core github.com/gruntwork-io/terratest module has been updated from v0.50.0 to v0.51.0.
  • New Terragrunt Features: This update introduces support for several terragrunt stack commands (generate, run, output, clean), stdin support for terragrunt run, and separation of terragrunt and terraform arguments.
  • OPA Command Line Arguments: Custom OPA command line arguments are now supported.
  • Kubernetes Client Library Upgrades: Key Kubernetes client libraries (k8s.io/api, k8s.io/apimachinery, k8s.io/client-go, etc.) have been upgraded to v0.34.0.
  • Go Dependency Updates: Numerous other indirect Go dependencies have been updated or added, including github.com/emicklei/go-restful/v3, github.com/go-openapi/jsonpointer, github.com/go-openapi/swag, and github.com/google/gnostic-models.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates github.com/gruntwork-io/terratest from v0.50.0 to v0.51.0. This is a minor version update, which is generally safe. However, it's important to note that this change pulls in major version upgrades for several indirect Kubernetes dependencies, such as k8s.io/api, k8s.io/apimachinery, and k8s.io/client-go (e.g., from v0.28 to v0.34). Such major version bumps can introduce breaking changes. I recommend a thorough testing of any functionality that relies on Kubernetes features via terratest to ensure there are no regressions.

cli/go.mod Outdated
github.com/google/go-cmp v0.7.0
github.com/google/go-github/v76 v76.0.0
github.com/gruntwork-io/terratest v0.50.0
github.com/gruntwork-io/terratest v0.51.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This update to terratest v0.51.0 also brings in major version updates for several transitive Kubernetes-related libraries. For example:

  • k8s.io/api v0.28.4 -> v0.34.0
  • k8s.io/apimachinery v0.28.4 -> v0.34.0
  • k8s.io/client-go v0.28.4 -> v0.34.0
  • sigs.k8s.io/structured-merge-diff/v4 v4.3.0 -> v6 v6.3.0

While terratest itself is a minor version bump, these transitive dependency updates are major and could introduce breaking changes. Please ensure that any functionality using Kubernetes features from terratest is thoroughly tested before merging.

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-gruntwork-io-terratest-0.x branch from bee6a7d to cb63372 Compare October 28, 2025 21:23
@dpebot
Copy link
Collaborator

dpebot commented Oct 28, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-gruntwork-io-terratest-0.x branch from cb63372 to 7184121 Compare October 28, 2025 21:40
@dpebot
Copy link
Collaborator

dpebot commented Oct 28, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-gruntwork-io-terratest-0.x branch from 7184121 to 0a4d3ac Compare October 28, 2025 23:33
@dpebot
Copy link
Collaborator

dpebot commented Oct 28, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-gruntwork-io-terratest-0.x branch from 0a4d3ac to fe4f9ba Compare October 30, 2025 00:45
@dpebot
Copy link
Collaborator

dpebot commented Oct 30, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-gruntwork-io-terratest-0.x branch from fe4f9ba to fb0733c Compare October 30, 2025 02:39
@dpebot
Copy link
Collaborator

dpebot commented Oct 30, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-gruntwork-io-terratest-0.x branch from fb0733c to 49ca6ee Compare October 30, 2025 04:17
@dpebot
Copy link
Collaborator

dpebot commented Oct 30, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-gruntwork-io-terratest-0.x branch from 49ca6ee to d03117f Compare October 30, 2025 22:16
@dpebot
Copy link
Collaborator

dpebot commented Oct 30, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-gruntwork-io-terratest-0.x branch from d03117f to 76d0977 Compare October 31, 2025 05:16
@dpebot
Copy link
Collaborator

dpebot commented Oct 31, 2025

/gcbrun

@renovate-bot renovate-bot changed the title chore(deps): update module github.com/gruntwork-io/terratest to v0.51.0 chore(deps): update module github.com/gruntwork-io/terratest to v0.52.0 Nov 3, 2025
@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-gruntwork-io-terratest-0.x branch from 76d0977 to 54a783b Compare November 3, 2025 03:53
@dpebot
Copy link
Collaborator

dpebot commented Nov 3, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-gruntwork-io-terratest-0.x branch from 54a783b to 5ef0011 Compare November 3, 2025 05:18
@dpebot
Copy link
Collaborator

dpebot commented Nov 3, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-gruntwork-io-terratest-0.x branch from 5ef0011 to ed9714d Compare November 3, 2025 17:58
@dpebot
Copy link
Collaborator

dpebot commented Nov 3, 2025

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Jan 13, 2026

/gcbrun

27 similar comments
@dpebot
Copy link
Collaborator

dpebot commented Jan 15, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Jan 15, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Jan 16, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Jan 20, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Jan 22, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Feb 2, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Feb 19, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Feb 19, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Feb 19, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Feb 24, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Feb 24, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Feb 24, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Feb 24, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Feb 24, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Feb 24, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Feb 25, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Feb 26, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Mar 2, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Mar 3, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Mar 3, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Mar 3, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Mar 3, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Mar 3, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Mar 4, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Mar 4, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Mar 6, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Mar 7, 2026

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Mar 7, 2026

/gcbrun

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

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants