Download Latest Version v1.0.0 source code.tar.gz (3.8 MB)
Email in envelope

Get an email when there's a new version of Terratest

Home / v0.56.0
Name Modified Size InfoDownloads / Week
Parent folder
terratest_log_parser_windows_amd64.exe 2026-02-13 6.5 MB
terratest_log_parser_windows_386.exe 2026-02-13 6.1 MB
terratest_log_parser_linux_arm64 2026-02-13 5.9 MB
terratest_log_parser_linux_amd64 2026-02-13 6.2 MB
terratest_log_parser_linux_386 2026-02-13 5.8 MB
terratest_log_parser_darwin_arm64 2026-02-13 6.0 MB
terratest_log_parser_darwin_amd64 2026-02-13 6.2 MB
SHA256SUMS 2026-02-13 1.4 kB
pick-instance-type_windows_amd64.exe 2026-02-13 24.8 MB
pick-instance-type_windows_386.exe 2026-02-13 23.5 MB
pick-instance-type_linux_arm64 2026-02-13 22.8 MB
pick-instance-type_linux_amd64 2026-02-13 24.3 MB
pick-instance-type_linux_386 2026-02-13 22.8 MB
pick-instance-type_darwin_arm64 2026-02-13 23.8 MB
pick-instance-type_darwin_amd64 2026-02-13 25.1 MB
README.md 2026-02-12 3.0 kB
v0.56.0 source code.tar.gz 2026-02-12 3.7 MB
v0.56.0 source code.zip 2026-02-12 4.4 MB
Totals: 18 Items   217.9 MB 2

✨ 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: https://github.com/gruntwork-io/terratest/compare/v0.55.0...v0.56.0

Source: README.md, updated 2026-02-12