Skip to content

v0.36.0

Compare
Choose a tag to compare
@gruntwork-ci gruntwork-ci released this 19 Jun 02:26
eb200a4

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 causes GetBucketTagging to return NoSuchBucket, and the function to return without checking any remaining buckets (which could be the one we actually want). This change ensures that when NoSuchBucket 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 the ValidateAllTerraformModules function from the terraform package to the test_structure package

Special thanks

Special thanks to the following users for their contribution!

Related links