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

Mock disabled dependency outputs. #2816

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jlepere-everlaw
Copy link
Contributor

Description

Fixes #2734.

Previously, using disabled dependency outputs wasn't really working because it would require that the terragrunt.hcl file as present, which was a bug. Additionally, disabled dependencies didn't have mocked outputs loaded, which doesn't really make sense otherwise.

Release Notes (draft)

Updated disabled dependencies to properly use mocked outputs.

Migration Guide

n/a

Previously, using disabled dependency outputs wasn't really working
because it would require that the `terragrunt.hcl` file as present,
which was a bug.

Additionally, disabled dependencies didn't have mocked outputs
loaded, which doesn't really make sense otherwise. See [1] for more
details.

This commit as a whole addresses [2].

[1] gruntwork-io#2734 (comment)
[2] gruntwork-io#2734 (comment)
@jlepere-everlaw
Copy link
Contributor Author

I've tested this by ensuring it solves problems I've been seeing, describe in more detail in #2734 (comment), following the docs to run terragrunt locally.

@denis256
Copy link
Member

denis256 commented Dec 4, 2023

Failing test TestTerragruntDisabledDependency

@denis256
Copy link
Member

denis256 commented Dec 4, 2023

Also will be helpful to have integration tests that will track that disabled modules work as expected

@jlepere-everlaw
Copy link
Contributor Author

Failing test TestTerragruntDisabledDependency
Also will be helpful to have integration tests that will track that disabled modules work as expected

Agh, I'm struggling a bit to fix/update this. Can you help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants