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

Source map might not work in stack run #3920

Open
yhakbar opened this issue Feb 22, 2025 · 0 comments
Open

Source map might not work in stack run #3920

yhakbar opened this issue Feb 22, 2025 · 0 comments
Assignees
Labels
bug Something isn't working stacks Issues related to Stacks

Comments

@yhakbar
Copy link
Collaborator

yhakbar commented Feb 22, 2025

I understand that unit.source of terragrunt.stack.hcl doesn't support source-maps, but the terraform.source of terragrunt.hcl does support the source-map. However, when running terragrunt stack apply, the source-map is not used for terraform.source in terragrunt.hcl . Is this also as designed?

Alternatively, if I apply the stack with terragrunt stack generate followed by terragrunt run-all apply, the source-map is respected.

I've been trying out stacks, and even though I've configured my unit.source to point to a local directory, I'd like to be able to substitute the module's source on the fly.

Originally posted by @mhulscher in #3313 (comment)

@yhakbar yhakbar added bug Something isn't working stacks Issues related to Stacks labels Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stacks Issues related to Stacks
Projects
None yet
Development

No branches or pull requests

2 participants