-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add Azure SQL Managed Instance Module #1307
Conversation
Hi @sweanan can you drop a link for the CI execution on the PR branch.? |
t.Parallel() | ||
|
||
uniquePostfix := strings.ToLower(random.UniqueId()) | ||
expectedLocation := "West US2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be westus2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed it
[Microsoft CI Bot] TL;DR; failure 🤦 You can check the status of the CI Pipeline logs here ; https://github.com/sweanan/terratest/actions/runs/5322652361 |
@@ -0,0 +1,63 @@ | |||
// SQL Managed Instance takes 6-8 hours for deployment, Exclude this from the worflow by naming it as *_testlong.go |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would rename the file to a be a valid test file 'sql_mangedinstace_test' and since get rid of all the tags with a minor change to the azure ci workflow to run tests based on the azure tag this would exclude the test from getting executed by using 'go test ./azure/* -v -timeout 90m --tags=azure'
terratest/.github/workflows/ci.yml
Line 134 in b8689cd
go test ./azure/* -v -timeout 90m |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Hadwa updated it
[Microsoft CI Bot] TL;DR; failure 🤦 You can check the status of the CI Pipeline logs here ; https://github.com/sweanan/terratest/actions/runs/5350335787 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @sweanan ,LGTM!
managedInstanceName := "" | ||
subscriptionID := "" | ||
|
||
_, err := GetManagedInstanceE(t, subscriptionID, resGroupName, managedInstanceName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modules/azure/sql_managedinstance_test.go:39:65: too many arguments in call to GetManagedInstanceE
have (*"testing".T, string, string, string)
want (string, string, string)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed it
@@ -0,0 +1,67 @@ | |||
//go:build !azure | |||
// +build !azure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think should be used same build parameters as for other azure
tests
//go:build azure
// +build azure
Now, the regular CICD test job tries to run TestTerraformAzureSQLManagedInstanceExample and fails since az
is not configured, other Azure tests aren't attempted to be executed
TestTerraformAzureSQLManagedInstanceExample 2023-06-25T21:29:15Z logger.go:66: ╵
TestTerraformAzureSQLManagedInstanceExample 2023-06-25T21:29:15Z retry.go:99: Returning due to fatal error: FatalError{Underlying: error while running command: exit status 1; ╷
│ Error: building AzureRM Client: please ensure you have installed Azure CLI version 2.0.79 or newer. Error parsing json result from the Azure CLI: launching Azure CLI: exec: "az": executable file not found in $PATH.
│
│ with provider["registry.terraform.io/hashicorp/azurerm"],
│ on main.tf line 12, in provider "azurerm":
│ 12: provider "azurerm" {
│
╵}
apply.go:15:
Error Trace: /home/circleci/project/test/azure/apply.go:15
/home/circleci/project/test/azure/terraform_azure_sqlmanagedinstance_example_test.go:46
Error: Received unexpected error:
FatalError{Underlying: error while running command: exit status 1; ╷
│ Error: building AzureRM Client: please ensure you have installed Azure CLI version 2.0.79 or newer. Error parsing json result from the Azure CLI: launching Azure CLI: exec: "az": executable file not found in $PATH.
│
│ with provider["registry.terraform.io/hashicorp/azurerm"],
│ on main.tf line 12, in provider "azurerm":
│ 12: provider "azurerm" {
│
╵}
Test: TestTerraformAzureSQLManagedInstanceExample
References:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @denis256, just a quick question, Can you please confirm, the workflow you are triggering is by using the .circleci/config.yml correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, correct
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @denis256, looking at the circleci yaml file, I see that the azure tests are only compiled and not executed. I am not sure which part of the workflow triggered the execution of the azure tests. Can you please point me to the test stage/task where is got triggered.
Also can you share how/where a subset of the tests are mared as short? I see in the log file you shared earlier that the test cmd is using the -short flag ' go test -v -timeout 45m -parallel 128 -p 1 ./... -short'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In https://github.com/gruntwork-io/terratest/tree/add-sqlmi-module-azure-test
I set
//go:build azure
// +build azure
and TestTerraformAzureSQLManagedInstanceExample
wasn't executed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@denis256 I updated the PR to skip the test for the short executions, and update the tags as well. Testing locally the test has not been picked up by the go test cmd. please take a look when you get a chance and share the Circle ci log file as well.
[Microsoft CI Bot] TL;DR; failure 🤦 You can check the status of the CI Pipeline logs here ; https://github.com/sweanan/terratest/actions/runs/5469099387 |
[Microsoft CI Bot] TL;DR; failure 🤦 You can check the status of the CI Pipeline logs here ; https://github.com/sweanan/terratest/actions/runs/5469531305 |
Hi, looks like imports should be fixed...
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failing tests aren't related to implemented changes, most of tests I already fixed in master
#9) [](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` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](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! - [@​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! - [@​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! - [@​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! - [@​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! - [@​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! - [@​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! - [@​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! - [@​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! - [@​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! - [@​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! - [@​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! - [@​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! - [@​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! - [@​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! - [@​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! - [@​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! - [@​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! - [@​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! - [@​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! - [@​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! - [@​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>
Description
Fixes #1279
This PR adds below:
Examples SQL MI : examples/azure/sqlmanagedinstance
AzureSQL Managed Instance Module under: modules/azure/sqlmanagedinstance*
Corresponding tests are added: tests/azure/terraform-azure-sqlmanagedinstanceexample
NOTE:
As described in the README.md for sqlmanagedinstance, the deployment for this module take more that 4-6 hours as per documents, so the tests are excluded from the workflow by adding a tag
!azure
so that this test file will not be picked up from the ci workflowTest with sqlmanaged instance long running:
https://github.com/sweanan/terratest/actions/runs/5322721656/jobs/9639554889
TestTerraformAzureSQLManagedInstanceExample 2023-06-20T14:04:18Z logger.go:66: azurerm_mssql_managed_instance.sqlmi_mi: Still creating... [1h5m20s elapsed] TestTerraformAzureSQLManagedInstanceExample 2023-06-20T14:04:28Z logger.go:66: azurerm_mssql_managed_instance.sqlmi_mi: Still creating... [1h5m30s elapsed]
Test excluding sqlmanaged instance : terraform_azure_sqlmanagedinstance_example_test.go
https://github.com/sweanan/terratest/actions/runs/5350335787/jobs/9702803292