v0.36.0
Modules affected
aws
terraform
[BACKWARD INCOMPATIBLE]test-structure
[BACKWARD INCOMPATIBLE]
Description
-
Continue searching when we get a deleted bucket. Sometimes,
ListBuckets
will return buckets that have been deleted, but haven't actually been removed yet. This causesGetBucketTagging
to returnNoSuchBucket
, and the function to return without checking any remaining buckets (which could be the one we actually want). This change ensures that whenNoSuchBucket
is returned, searching will continue. -
Copy validated Terraform to /tmp to avoid conflict. Various backward incompatible fixes and improvements for the
ValidateAllTerraformModules
function:- Always copy Terraform configurations to be validated to a temp directory first to avoid conflicts with tests that do not copy their modules to temp directories
- Fix an issue causing
FindTerraformModulePathsInRootE
to incorrectly return.terraform
hidden directories, leading to excess work or possible false positives - For consistency's sake and to avoid an import cycle error when leveraging the
CopyTerraformModuleToTemp
function, move theValidateAllTerraformModules
function from theterraform
package to thetest_structure
package
Special thanks
Special thanks to the following users for their contribution!