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

adds custom logger to kubectl options #1325

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

retpolanne
Copy link
Contributor

This commit adds the custom logging facility to kubectl options and to the Kubectl Run with output that can be used to suppress stdout from Kubectl run if needed.

The logging facility was introduced on #510 but it missed kubectl options.

Fixes #358 since @blame19 recalled that the behavior was missing on the k8s module.

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)

Updated k8s module to add custom logging facility

This commit adds the custom logging facility to kubectl options and to
the Kubectl Run with output that can be used to suppress stdout from
Kubectl run if needed.

The logging facility was introduced on gruntwork-io#510 but it missed kubectl
options.

Fixes gruntwork-io#358 since @blame19 recalled that the behavior was missing on the
k8s module.

Signed-off-by: Anne Macedo <retpolanne@posteo.net>
@denis256 denis256 merged commit 7f3b965 into gruntwork-io:master Jul 25, 2023
2 of 3 checks passed
mraerino pushed a commit to ffddorf/terraform-backend that referenced this pull request 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://togithub.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://togithub.com/gruntwork-io/terratest/releases/tag/v0.46.16)

[Compare
Source](https://togithub.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://togithub.com/gruntwork-io/terratest/pull/1415)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

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

#### Description

- Updated [golang.org/x/net](https://togithub.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://togithub.com/gruntwork-io/terratest/pull/1402)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.com/gruntwork-io/terratest/pull/1404)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.com/gruntwork-io/terratest/pull/1398)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.com/gruntwork-io/terratest/pull/1396)
-
[https://github.com/gruntwork-io/terratest/pull/1381](https://togithub.com/gruntwork-io/terratest/pull/1381)
-
[https://github.com/gruntwork-io/terratest/pull/1397](https://togithub.com/gruntwork-io/terratest/pull/1397)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.com/gruntwork-io/terratest/pull/1387)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.com/gruntwork-io/terratest/pull/1376)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.com/helm-unittest/helm-unittest)
feature [snapshot
testing](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1378)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1375)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1370)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1365)
-
[https://github.com/gruntwork-io/terratest/pull/1368](https://togithub.com/gruntwork-io/terratest/pull/1368)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1354)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.com/gruntwork-io/terratest/pull/1362)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.com/gruntwork-io/terratest/pull/1360)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.com/gruntwork-io/terratest/pull/1286)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.com/gruntwork-io/terratest/pull/1356)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1352)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.com/gruntwork-io/terratest/pull/1351)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.com/gruntwork-io/terratest/pull/1350)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.com/gruntwork-io/terratest/pull/1339)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1332)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1330)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1323)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1325)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1319)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1309)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1307)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1297)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.com/gruntwork-io/terratest/pull/1314)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1312)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1306)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1303)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1304)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.com/gruntwork-io/terratest/pull/1298)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1294)
-
[https://github.com/gruntwork-io/terratest/pull/1289](https://togithub.com/gruntwork-io/terratest/pull/1289)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1291)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1287)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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://togithub.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://togithub.com/gruntwork-io/terratest/pull/1284)

<!-- RELEASE_NOTES_DRAFTER_MARKER_RELATED_LINKS_NEXT -->

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

[Compare
Source](https://togithub.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.

how to disable terraform's output when running test
2 participants