Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add AssertTgPlanAllExitCode #1323

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

bt-macole
Copy link
Contributor

@bt-macole bt-macole commented Jul 21, 2023

Description

this adds an assertion to use with TgPlanAllExitCode.

since run-all plan with -detailed-exitcode can return a 0 or 2 on successful plans, this assertions checks for either acceptable value and asserts if true or false depending on the assertion under test, designated by the assertTrue input arg.

this has been passed around as a helper function for simple regression testing using plan all across many modules, seemed like time to share it with the community.

resolves #1324

TODOs

Read the Gruntwork contribution guidelines.

  • Run the relevant tests successfully, including pre-commit checks.
  • Include release notes. If this PR is backward incompatible, include a migration guide.

Release Notes (draft)

Added / Removed / Updated [X].

Added AssertTgPlanAllExitCode to validate TgPlanAllE

@bt-macole bt-macole requested a review from denis256 as a code owner July 21, 2023 15:26
@bt-macole bt-macole force-pushed the assert-tg-plan-exit-code branch from b70b1a5 to 625f3ae Compare July 22, 2023 06:25
this adds an assertion to use with TgPlanAllE.

since run-all plan with `-detailed-exitcode` can return a `0` or `2` on successful plans,
this assertions checks for either acceptable value and asserts if true or false
depending on the assertion under test, designated by the `assertTrue` input arg.

this has been passed around as a helper function for simple regression testing using plan all
across many modules, seemed like time to share it with the community.
@bt-macole bt-macole force-pushed the assert-tg-plan-exit-code branch from 625f3ae to 6ca2522 Compare July 22, 2023 06:28
@denis256 denis256 merged commit 2df0170 into gruntwork-io:master Jul 26, 2023
mraerino referenced this pull request in ffddorf/terraform-backend Jun 30, 2024
#9)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/gruntwork-io/terratest](https://github.com/gruntwork-io/terratest)
| `v0.41.16` -> `v0.46.16` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgruntwork-io%2fterratest/v0.46.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgruntwork-io%2fterratest/v0.46.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgruntwork-io%2fterratest/v0.41.16/v0.46.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgruntwork-io%2fterratest/v0.41.16/v0.46.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>gruntwork-io/terratest
(github.com/gruntwork-io/terratest)</summary>

###
[`v0.46.16`](https://github.com/gruntwork-io/terratest/releases/tag/v0.46.16)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.46.15...v0.46.16)

#### Description

- Updated `https://github.com/hashicorp/go-getter` from 1.7.4 to 1.7.5.

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1415](https://github.com/gruntwork-io/terratest/pull/1415)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.46.15`](https://github.com/gruntwork-io/terratest/releases/tag/v0.46.15)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.46.14...v0.46.15)

#### Description

- Updated [golang.org/x/net](https://github.com/golang/net) from
`0.17.0` to `0.23.0`.

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1402](https://github.com/gruntwork-io/terratest/pull/1402)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.46.14`](https://github.com/gruntwork-io/terratest/releases/tag/v0.46.14)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.46.13...v0.46.14)

#### Modules affected

-   `opa`

#### Description

-   Updated go-getter to 1.7.4

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1404](https://github.com/gruntwork-io/terratest/pull/1404)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.46.13`](https://github.com/gruntwork-io/terratest/releases/tag/v0.46.13)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.46.12...v0.46.13)

#### Modules affected

-   `docker`

#### Description

- Updated `github.com/docker/docker` from `24.0.7+incompatible` to
`24.0.9+incompatible`

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1398](https://github.com/gruntwork-io/terratest/pull/1398)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.46.12`](https://github.com/gruntwork-io/terratest/releases/tag/v0.46.12)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.46.11...v0.46.12)

#### Description

-   Updated google.golang.org/protobuf from 1.31.0 to 1.33.0
-   Updated golang.org/x/crypto from 0.14.0 to 0.17.0
-   Updated nokogiri from 1.14.3 to 1.16.3

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1396](https://github.com/gruntwork-io/terratest/pull/1396)
-
[https://github.com/gruntwork-io/terratest/pull/1381](https://github.com/gruntwork-io/terratest/pull/1381)
-
[https://github.com/gruntwork-io/terratest/pull/1397](https://github.com/gruntwork-io/terratest/pull/1397)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.46.11`](https://github.com/gruntwork-io/terratest/releases/tag/v0.46.11)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.46.10...v0.46.11)

##### Modules affected

-   `aws`

##### Description

-   Updated `GetAmazonLinuxAmiE` to search for Amazon Linux 2 AMIs

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

##### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1387](https://github.com/gruntwork-io/terratest/pull/1387)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.46.10`](https://github.com/gruntwork-io/terratest/releases/tag/v0.46.10)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.46.9...v0.46.10)

#### Modules affected

-   `test-structure`
-   `git`

#### Description

- Updated `runValidateOnAllTerraformModules` function, which is used
under the hood by `ValidateAllTerraformModules` and
`OPAEvalAllTerraformModules`, to:

1. Find the Git root using `git.GetRepoRootForDirE`, instead of a
hard-coded `../../` file path.
2. Copy the Git root to a temp folder once, rather than once per
sub-test.

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1376](https://github.com/gruntwork-io/terratest/pull/1376)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.46.9`](https://github.com/gruntwork-io/terratest/releases/tag/v0.46.9)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.46.8...v0.46.9)

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `helm`

#### Description

- Added support in Helm for snapshot testing, similar to
[helm-unittest](https://github.com/helm-unittest/helm-unittest)
feature [snapshot
testing](https://github.com/helm-unittest/helm-unittest#snapshot-testing).

#### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;jguionnet](https://github.com/jguionnet)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1378](https://github.com/gruntwork-io/terratest/pull/1378)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.46.8`](https://github.com/gruntwork-io/terratest/releases/tag/v0.46.8)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.46.7...v0.46.8)

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `k8s`

#### Description

-   Updated `k8s.io/apimachinery` from `v0.27.2` to `v0.28.4`.
-   Updated `k8s.io/client-go` from `v0.27.2` to `v0.28.4`.

#### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;marcofranssen](https://github.com/marcofranssen)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1375](https://github.com/gruntwork-io/terratest/pull/1375)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.46.7`](https://github.com/gruntwork-io/terratest/releases/tag/v0.46.7)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.46.6...v0.46.7)

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `http-helper`

#### Description

-   Added handling for `nil` body in `http-helper`.

#### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;semihbkgr](https://github.com/semihbkgr)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1370](https://github.com/gruntwork-io/terratest/pull/1370)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.46.6`](https://github.com/gruntwork-io/terratest/releases/tag/v0.46.6)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.46.5...v0.46.6)

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `helm`

#### Description

-   Added support for the `--repo options` to the helm test feature

#### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;jguionnet](https://github.com/jguionnet)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1365](https://github.com/gruntwork-io/terratest/pull/1365)
-
[https://github.com/gruntwork-io/terratest/pull/1368](https://github.com/gruntwork-io/terratest/pull/1368)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.46.5`](https://github.com/gruntwork-io/terratest/releases/tag/v0.46.5)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.46.4...v0.46.5)

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `k8s`

#### Description

- Added `RestConfig` field to extend auth options for Kubernetes client.

#### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;kirecek](https://github.com/kirecek)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1354](https://github.com/gruntwork-io/terratest/pull/1354)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.46.4`](https://github.com/gruntwork-io/terratest/releases/tag/v0.46.4)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.46.3...v0.46.4)

<!--
-- This is autogenerated from the release notes drafter. When updating,
be sure to double check some of the changes
  -- before publishing.
-- Note that there are markers for the release notes drafter as
comments. DO NOT REMOVE THEM. They will not show up in
-- the preview and is harmless to keep, but harmful to remove as it is
used to guide the drafter on where the next
  -- information should be inserted.
  -->

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

<!-- RELEASE_NOTES_DRAFTER_MARKER_MODULES_AFFECTED_NEXT -->

#### Description

<!-- A description of the changes made in this release. Be sure to
update any TODOs. -->

- Updated dependency `github.com/docker/docker` from
`20.10.7+incompatible` to `24.0.7+incompatible`

<!-- RELEASE_NOTES_DRAFTER_MARKER_DESCRIPTIONS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1362](https://github.com/gruntwork-io/terratest/pull/1362)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.46.3`](https://github.com/gruntwork-io/terratest/releases/tag/v0.46.3)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.46.2...v0.46.3)

<!--
-- This is autogenerated from the release notes drafter. When updating,
be sure to double check some of the changes
  -- before publishing.
-- Note that there are markers for the release notes drafter as
comments. DO NOT REMOVE THEM. They will not show up in
-- the preview and is harmless to keep, but harmful to remove as it is
used to guide the drafter on where the next
  -- information should be inserted.
  -->

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

<!-- RELEASE_NOTES_DRAFTER_MARKER_MODULES_AFFECTED_NEXT -->

#### Description

<!-- A description of the changes made in this release. Be sure to
update any TODOs. -->

- Updated dependency `google.golang.org/grpc` from `1.51.0` to `1.56.3`

<!-- RELEASE_NOTES_DRAFTER_MARKER_DESCRIPTIONS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1360](https://github.com/gruntwork-io/terratest/pull/1360)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.46.2`](https://github.com/gruntwork-io/terratest/releases/tag/v0.46.2)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.46.1...v0.46.2)

<!--
-- This is autogenerated from the release notes drafter. When updating,
be sure to double check some of the changes
  -- before publishing.
-- Note that there are markers for the release notes drafter as
comments. DO NOT REMOVE THEM. They will not show up in
-- the preview and is harmless to keep, but harmful to remove as it is
used to guide the drafter on where the next
  -- information should be inserted.
  -->

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

<!-- RELEASE_NOTES_DRAFTER_MARKER_MODULES_AFFECTED_NEXT -->

#### Description

<!-- A description of the changes made in this release. Be sure to
update any TODOs. -->

- Updated dependency `github.com/docker/distribution` from
`2.7.1+incompatible` to `2.8.2+incompatible`

<!-- RELEASE_NOTES_DRAFTER_MARKER_DESCRIPTIONS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1286](https://github.com/gruntwork-io/terratest/pull/1286)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.46.1`](https://github.com/gruntwork-io/terratest/releases/tag/v0.46.1)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.46.0...v0.46.1)

<!--
-- This is autogenerated from the release notes drafter. When updating,
be sure to double check some of the changes
  -- before publishing.
-- Note that there are markers for the release notes drafter as
comments. DO NOT REMOVE THEM. They will not show up in
-- the preview and is harmless to keep, but harmful to remove as it is
used to guide the drafter on where the next
  -- information should be inserted.
  -->

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

<!-- RELEASE_NOTES_DRAFTER_MARKER_MODULES_AFFECTED_NEXT -->

#### Description

<!-- A description of the changes made in this release. Be sure to
update any TODOs. -->

-   Updated dependency `golang.org/x/net` from 0.8.0 to 0.17.0

<!-- RELEASE_NOTES_DRAFTER_MARKER_DESCRIPTIONS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1356](https://github.com/gruntwork-io/terratest/pull/1356)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.46.0`](https://github.com/gruntwork-io/terratest/releases/tag/v0.46.0)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.45.0...v0.46.0)

#### Modules affected

-   `terraform`

#### Description

-   Added support for OpenTofu in `terraform` module

##### Migration Guide

Switching to tofu:

1.  Install OpenTofu cli https://github.com/opentofu/opentofu
2.  Apply one of:

-   Option 1: Remove `terraform` binary from `PATH`
- Option 2: use [`TerraformBinary`
config](https://github.com/gruntwork-io/terratest/blob/master/modules/terraform/options.go#L41)
to specify `tofu` executable

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1352](https://github.com/gruntwork-io/terratest/pull/1352)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.45.0`](https://github.com/gruntwork-io/terratest/releases/tag/v0.45.0)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.44.1...v0.45.0)

#### Description

-   Removed Go patch version from `go.mod`

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1351](https://github.com/gruntwork-io/terratest/pull/1351)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.44.1`](https://github.com/gruntwork-io/terratest/releases/tag/v0.44.1)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.44.0...v0.44.1)

#### Description

-   Updated AMI module to support Ubuntu 20.04 and 22.04.

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1350](https://github.com/gruntwork-io/terratest/pull/1350)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.44.0`](https://github.com/gruntwork-io/terratest/releases/tag/v0.44.0)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.43.13...v0.44.0)

#### Description

-   Updated minimal Go version to 1.21

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1339](https://github.com/gruntwork-io/terratest/pull/1339)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.43.13`](https://github.com/gruntwork-io/terratest/releases/tag/v0.43.13)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.43.12...v0.43.13)

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `azure`

#### Description

-   Added new fields to the `NsgRuleSummary` structure

#### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;DamianJarzebowski](https://github.com/DamianJarzebowski)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1332](https://github.com/gruntwork-io/terratest/pull/1332)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.43.12`](https://github.com/gruntwork-io/terratest/releases/tag/v0.43.12)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.43.11...v0.43.12)

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `k8s`

#### Description

-   Fixed panic in `WaitUntilDeploymentAvailable` in the `k8s` module

#### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;antoninbas](https://github.com/antoninbas)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1330](https://github.com/gruntwork-io/terratest/pull/1330)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.43.11`](https://github.com/gruntwork-io/terratest/releases/tag/v0.43.11)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.43.10...v0.43.11)

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `terraform`

#### Description

- Added function `AssertTgPlanAllExitCode` to validate output of
`terragrunt run-all plan`

#### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;bt-macole](https://github.com/bt-macole)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1323](https://github.com/gruntwork-io/terratest/pull/1323)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.43.10`](https://github.com/gruntwork-io/terratest/releases/tag/v0.43.10)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.43.9...v0.43.10)

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `k8s`

#### Description

-   Added support for passing custom logger when running `kubectl`

#### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;retpolanne](https://github.com/retpolanne)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1325](https://github.com/gruntwork-io/terratest/pull/1325)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.43.9`](https://github.com/gruntwork-io/terratest/releases/tag/v0.43.9)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.43.8...v0.43.9)

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `test-structure`

#### Description

-   Added function `SaveTerraformOptionsIfNotPresent`

#### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;bt-macole](https://github.com/bt-macole)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1319](https://github.com/gruntwork-io/terratest/pull/1319)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.43.8`](https://github.com/gruntwork-io/terratest/releases/tag/v0.43.8)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.43.7...v0.43.8)

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `terraform`

#### Description

-   Added public `ParsePlanJSON` function to `terraform` module.

#### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;mdb](https://github.com/mdb)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1309](https://github.com/gruntwork-io/terratest/pull/1309)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.43.7`](https://github.com/gruntwork-io/terratest/releases/tag/v0.43.7)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.43.6...v0.43.7)

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `azure`

#### Description

-   Added support for Azure SQL Managed Instance

#### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;sweanan](https://github.com/sweanan)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1307](https://github.com/gruntwork-io/terratest/pull/1307)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.43.6`](https://github.com/gruntwork-io/terratest/releases/tag/v0.43.6)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.43.5...v0.43.6)

<!--
-- This is autogenerated from the release notes drafter. When updating,
be sure to double check some of the changes
  -- before publishing.
-- Note that there are markers for the release notes drafter as
comments. DO NOT REMOVE THEM. They will not show up in
-- the preview and is harmless to keep, but harmful to remove as it is
used to guide the drafter on where the next
  -- information should be inserted.
  -->

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `k8s`

<!-- RELEASE_NOTES_DRAFTER_MARKER_MODULES_AFFECTED_NEXT -->

#### Description

<!-- A description of the changes made in this release. Be sure to
update any TODOs. -->

-   Updated `k8s` module to support fetching of Kubernetes events

<!-- RELEASE_NOTES_DRAFTER_MARKER_DESCRIPTIONS_NEXT -->

#### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;kaisoz](https://github.com/kaisoz)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1297](https://github.com/gruntwork-io/terratest/pull/1297)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.43.5`](https://github.com/gruntwork-io/terratest/releases/tag/v0.43.5)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.43.4...v0.43.5)

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

<!-- RELEASE_NOTES_DRAFTER_MARKER_MODULES_AFFECTED_NEXT -->

#### Description

<!-- A description of the changes made in this release. Be sure to
update any TODOs. -->

-   Updated `google.golang.org/protobuf` version to `v1.31.0`

<!-- RELEASE_NOTES_DRAFTER_MARKER_DESCRIPTIONS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1314](https://github.com/gruntwork-io/terratest/pull/1314)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.43.4`](https://github.com/gruntwork-io/terratest/releases/tag/v0.43.4)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.43.3...v0.43.4)

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `azure`

#### Description

- Update Azure example to move the `azurerm` provider version constraint
into the `required_provider`.

#### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;HadwaAbdelhalem](https://github.com/HadwaAbdelhalem)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1312](https://github.com/gruntwork-io/terratest/pull/1312)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.43.3`](https://github.com/gruntwork-io/terratest/releases/tag/v0.43.3)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.43.2...v0.43.3)

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `azure`

#### Description

-   Add Support for Azure DataFactory Module

#### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;sweanan](https://github.com/sweanan)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1306](https://github.com/gruntwork-io/terratest/pull/1306)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.43.2`](https://github.com/gruntwork-io/terratest/releases/tag/v0.43.2)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.43.1...v0.43.2)

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `azure`

#### Description

-   Add support for Azure Synapse Analytics

#### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;sweanan](https://github.com/sweanan)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1303](https://github.com/gruntwork-io/terratest/pull/1303)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.43.1`](https://github.com/gruntwork-io/terratest/releases/tag/v0.43.1)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.43.0...v0.43.1)

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `azure`

#### Description

-   Updated golangcli-lint version used in azure workflow

#### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;HadwaAbdelhalem](https://github.com/HadwaAbdelhalem)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1304](https://github.com/gruntwork-io/terratest/pull/1304)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.43.0`](https://github.com/gruntwork-io/terratest/releases/tag/v0.43.0)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.42.0...v0.43.0)

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `k8s` \[BACKWARD INCOMPATIBLE]

#### Description

-   Updated minimal Go version to 1.19
-   Updated Kubernetes client dependency

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1298](https://github.com/gruntwork-io/terratest/pull/1298)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.42.0`](https://github.com/gruntwork-io/terratest/releases/tag/v0.42.0)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.41.26...v0.42.0)

<!--
-- This is autogenerated from the release notes drafter. When updating,
be sure to double check some of the changes
  -- before publishing.
-- Note that there are markers for the release notes drafter as
comments. DO NOT REMOVE THEM. They will not show up in
-- the preview and is harmless to keep, but harmful to remove as it is
used to guide the drafter on where the next
  -- information should be inserted.
  -->

##### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `k8s`
-   `helm` \[BACKWARD INCOMPATIBLE]

<!-- RELEASE_NOTES_DRAFTER_MARKER_MODULES_AFFECTED_NEXT -->

##### Description

<!-- A description of the changes made in this release. Be sure to
update any TODOs. -->

- Fixed the description of `k8s.KubectlApplyFromKustomizeE` which
refered to "delete".
- Updated `helm.Options` struct with flag `BuildDependencies`, once set,
helm chart dependencies building will be performed.

##### Migration guide

For helm charts that require dependencies to be built, should be defined
`helm.BuildDependencies=true`

<!-- RELEASE_NOTES_DRAFTER_MARKER_DESCRIPTIONS_NEXT -->

##### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;s-diez](https://github.com/s-diez)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

##### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1294](https://github.com/gruntwork-io/terratest/pull/1294)
-
[https://github.com/gruntwork-io/terratest/pull/1289](https://github.com/gruntwork-io/terratest/pull/1289)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.41.26`](https://github.com/gruntwork-io/terratest/releases/tag/v0.41.26)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.41.25...v0.41.26)

<!--
-- This is autogenerated from the release notes drafter. When updating,
be sure to double check some of the changes
  -- before publishing.
-- Note that there are markers for the release notes drafter as
comments. DO NOT REMOVE THEM. They will not show up in
-- the preview and is harmless to keep, but harmful to remove as it is
used to guide the drafter on where the next
  -- information should be inserted.
  -->

##### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `helm`

<!-- RELEASE_NOTES_DRAFTER_MARKER_MODULES_AFFECTED_NEXT -->

##### Description

<!-- A description of the changes made in this release. Be sure to
update any TODOs. -->

- Added ability to define JSON values for the `--set-json` Helm template
flag

<!-- RELEASE_NOTES_DRAFTER_MARKER_DESCRIPTIONS_NEXT -->

##### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;ganievs](https://github.com/ganievs)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

##### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1291](https://github.com/gruntwork-io/terratest/pull/1291)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.41.25`](https://github.com/gruntwork-io/terratest/releases/tag/v0.41.25)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.41.24...v0.41.25)

<!--
-- This is autogenerated from the release notes drafter. When updating,
be sure to double check some of the changes
  -- before publishing.
-- Note that there are markers for the release notes drafter as
comments. DO NOT REMOVE THEM. They will not show up in
-- the preview and is harmless to keep, but harmful to remove as it is
used to guide the drafter on where the next
  -- information should be inserted.
  -->

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `k8s`

<!-- RELEASE_NOTES_DRAFTER_MARKER_MODULES_AFFECTED_NEXT -->

#### Description

<!-- A description of the changes made in this release. Be sure to
update any TODOs. -->

-   Updated `k8s` module to support PersistentVolumeClaims

<!-- RELEASE_NOTES_DRAFTER_MARKER_DESCRIPTIONS_NEXT -->

#### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;kaisoz](https://github.com/kaisoz)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1287](https://github.com/gruntwork-io/terratest/pull/1287)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.41.24`](https://github.com/gruntwork-io/terratest/releases/tag/v0.41.24)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.41.23...v0.41.24)

<!--
-- This is autogenerated from the release notes drafter. When updating,
be sure to double check some of the changes
  -- before publishing.
-- Note that there are markers for the release notes drafter as
comments. DO NOT REMOVE THEM. They will not show up in
-- the preview and is harmless to keep, but harmful to remove as it is
used to guide the drafter on where the next
  -- information should be inserted.
  -->

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `k8s`

<!-- RELEASE_NOTES_DRAFTER_MARKER_MODULES_AFFECTED_NEXT -->

#### Description

<!-- A description of the changes made in this release. Be sure to
update any TODOs. -->

-   Added functions for Kubernetes PersistentVolumes

<!-- RELEASE_NOTES_DRAFTER_MARKER_DESCRIPTIONS_NEXT -->

#### Special thanks

<!-- Usernames of users that contributed to this release, if the
contribution was external to Gruntwork. -->

Special thanks to the following users for their contribution!

-   [@&#8203;kaisoz](https://github.com/kaisoz)

<!-- RELEASE_NOTES_DRAFTER_MARKER_CONTRIBUTORS_NEXT -->

#### Related links

<!-- Links to each PR or issue that are being addressed in this release.
The drafter will autoinclude each merged PR. -->

-
[https://github.com/gruntwork-io/terratest/pull/1284](https://github.com/gruntwork-io/terratest/pull/1284)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

###
[`v0.41.23`](https://github.com/gruntwork-io/terratest/releases/tag/v0.41.23)

[Compare
Source](https://github.com/gruntwork-io/terratest/compare/v0.41.22...v0.41.23)

<!--
-- This is autogenerated from the release notes drafter. When updating,
be sure to double check some of the changes
  -- before publishing.
-- Note that there are markers for the release notes drafter as
comments. DO NOT REMOVE THEM. They will not show up in
-- the preview and is harmless to keep, but harmful to remove as it is
used to guide the drafter on where the next
  -- information should be inserted.
  -->

#### Modules affected

<!-- The list of modules that have been touched since the last release.
  --
-- The autogenerator will choose to do a patch release. However, check
if the changes in the following modules are
-- backwards compatible, and update the release number if it is
backwards incompatible.
  --
-- The following kinds of changes would constitute a backwards
incompatible change:
-- * In Terraform code: add a new variable without a default, rename or
remove an existing variable, remove or rename
  --   an output, remove or rename a resource.
-- * In Bash and Go code: add a new parameter without a default, rename
or remove an existing parameter, fundamentally
  --   change what the code does.
  -->

-   `helm`

<!-- RELEASE_NOTES_DRAFTER_MARKER_MODULES_AFFECTED_NEXT -->

#### Description

<!-- A description of the changes made in this release. Be sure to
update any TODOs. -->

-   Updated Helm chart installation to allow logs redirection

<!-- RELEASE_NOTES_DRAFTER_MARKER_DESCRIPTIONS_NEXT -->

#### Related links

<!-- Links to each PR or issu

</details>

---

### 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 becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ffddorf/terraform-backend).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

function to assert TgPlanAllExitCode
2 participants