Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gruntwork-io/terratest
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.52.0
Choose a base ref
...
head repository: gruntwork-io/terratest
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.53.0
Choose a head ref
  • 16 commits
  • 1 file changed
  • 5 contributors

Commits on Oct 26, 2025

  1. Add Go workspace and module files

    Set up Go workspace with go.work and individual module files for better dependency management.
    james00012 committed Oct 26, 2025
    Configuration menu
    Copy the full SHA
    70cdf5f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2690ead View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5ca36bd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    76d6f01 View commit details
    Browse the repository at this point in the history
  5. Decouple terragrunt module from terraform module

    Create independent formatting functions in terragrunt module to remove
    dependency on terraform module. This significantly reduces dependencies
    for users who only need terragrunt testing.
    
    Changes:
    - Add modules/terragrunt/format.go with formatting utilities
    - Update init.go to use local formatting functions
    - Remove terraform from terragrunt/go.mod dependencies
    - Update workspace dependencies
    
    Benefits:
    - Users importing terragrunt no longer pull in HCL parsing libraries
    - Reduced dependency bloat (no hashicorp/hcl, terraform-json, go-getter)
    - Easier to update terragrunt independently from terraform
    james00012 committed Oct 26, 2025
    Configuration menu
    Copy the full SHA
    5e7c973 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2025

  1. Refactor formatting logic into shared module

    Create a shared formatting module to eliminate code duplication and
    decouple terragrunt from terraform module dependencies.
    
    Changes:
    - Add modules/formatting module with HCL formatting utilities
    - Update terraform module to use shared formatting functions
    - Update terragrunt module to use shared formatting instead of terraform
    - Remove duplicated format.go from terragrunt module
    - Add comprehensive tests for formatting module
    - Update go.work to include formatting module
    - Update go.mod files with proper dependencies
    
    Benefits:
    - Terragrunt no longer depends on terraform module
    - Eliminates code duplication (161 lines removed from terragrunt)
    - Removes heavyweight dependencies from terragrunt:
      - hashicorp/hcl/v2
      - hashicorp/terraform-json
      - hashicorp/go-getter
      - tmccombs/hcl2json
      - zclconf/go-cty
    - Maintains backward compatibility (all tests pass)
    - Easier maintenance with single source of truth for formatting
    james00012 committed Oct 27, 2025
    Configuration menu
    Copy the full SHA
    920e237 View commit details
    Browse the repository at this point in the history
  2. Clean up comments and remove unnecessary dependencies

    Improve code clarity and maintainability:
    
    Changes:
    - Update comments in formatting module to reflect it's shared by both
      Terraform and Terragrunt (not Terraform-specific)
    - Clarify comment in terragrunt/init.go about arguments being passed
      through to underlying terraform command
    - Remove unnecessary replace directives from files/go.mod (logger and
      testing are not imported by this module)
    
    All tests passing:
    - formatting module tests: ✓
    - terragrunt init tests: ✓
    - builds successful: ✓
    james00012 committed Oct 27, 2025
    Configuration menu
    Copy the full SHA
    8ff62d5 View commit details
    Browse the repository at this point in the history
  3. Revert dependency updates to keep PR focused on modularization

    Fix CI build failure by reverting dependency upgrades that were
    accidentally included in the modularization PR. This keeps the PR
    focused solely on module structure changes.
    
    Changes:
    - Revert gruntwork-io/go-commons from v0.17.2 to v0.8.0
    - Remove urfave/cli/v2 (keep v1.22.16)
    - Downgrade dependencies in all module go.mod files
    - Clean up indirect dependencies
    
    The dependency upgrades introduced breaking API changes in
    cmd/terratest_log_parser that should be addressed in a separate PR.
    
    Fixes CI build errors in PR #1608
    james00012 committed Oct 27, 2025
    Configuration menu
    Copy the full SHA
    7a3e2d5 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2025

  1. Run go mod tidy to update go.sum

    Updates go.sum with missing checksums for various dependencies' .mod files.
    james00012 committed Nov 4, 2025
    Configuration menu
    Copy the full SHA
    62f6966 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2025

  1. Merge pull request #1608 from gruntwork-io/workspace-setup

    Add independent Go modules for terragrunt and dependencies
    james00012 authored Nov 7, 2025
    Configuration menu
    Copy the full SHA
    375ff5e View commit details
    Browse the repository at this point in the history
  2. Bump github.com/ulikunitz/xz from 0.5.10 to 0.5.14 in /modules/terraform

    Bumps [github.com/ulikunitz/xz](https://github.com/ulikunitz/xz) from 0.5.10 to 0.5.14.
    - [Commits](ulikunitz/xz@v0.5.10...v0.5.14)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/ulikunitz/xz
      dependency-version: 0.5.14
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Nov 7, 2025
    Configuration menu
    Copy the full SHA
    597b93a View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1611 from gruntwork-io/dependabot/go_modules/modu…

    …les/terraform/github.com/ulikunitz/xz-0.5.14
    
    Bump github.com/ulikunitz/xz from 0.5.10 to 0.5.14 in /modules/terraform
    james00012 authored Nov 7, 2025
    Configuration menu
    Copy the full SHA
    de08859 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2025

  1. Revert "Add independent Go modules for terragrunt and dependencies"

    This reverts PR #1608, which introduced independent Go modules for the
    terragrunt dependency chain. Reverting back to the original monolithic
    module structure.
    james00012 committed Nov 11, 2025
    Configuration menu
    Copy the full SHA
    6aa5dd4 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1614 from gruntwork-io/revert-pr-1608

    Revert PR #1608: Revert modularization changes
    james00012 authored Nov 11, 2025
    Configuration menu
    Copy the full SHA
    bf09987 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2025

  1. Configuration menu
    Copy the full SHA
    56f0674 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1616 from particleflux/fix-docs-typo-validate

    Fix typo in docs for `InitAndValidateInputsE()`
    denis256 authored Nov 14, 2025
    Configuration menu
    Copy the full SHA
    b23d0e3 View commit details
    Browse the repository at this point in the history
Loading