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

--terragrunt-source-map seems to be ignored #79

Open
fellnerse opened this issue Jul 11, 2022 · 1 comment
Open

--terragrunt-source-map seems to be ignored #79

fellnerse opened this issue Jul 11, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@fellnerse
Copy link

Describe the bug
I don't know how to use the --terragrunt-source-map param, it seems like it's completely ignored for me.

To Reproduce
We are using private repositories hosted in azure devops. The code to include another repo looks like this:

module "core_api_specification" {
  source = "git::[email protected]:v3/<organization>/<project>/<repo>//<subpath>?ref=feature/random-feature"
  ... 
}

So far so good. I'm able to get the code with terragrunt get can plan and apply. But when I try to overwrite this source path with --terragrunt-source-map git::[email protected]:v3/<organization>/<project>/<repo>=/abs/path/to/local/repo//<subpath> it is completly ignored. I tried basically all premutations how you would be able to change the url, but the output from --terragrunt-log-level debug never contains anything from the second part (that should be used instead of the url).

Expected behavior
I expect it to actually use the local path. Could you help me understand what I'm doing wrong?

info
terragrunt version v0.38.4
Terraform v1.2.4 on darwin_arm64

@fellnerse fellnerse added the bug Something isn't working label Jul 11, 2022
@DomWeldon
Copy link

I don't suppose you ever got anywhere with this? Having the exact same issue currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants