docs/src/data/flags/source-map.mdx
import { Aside } from '@astrojs/starlight/components';
Allows you to replace source URLs that match a specified pattern with a different URL. This affects both direct source references and sources specified in dependency blocks.
The format is source-regex=replacement-source.
For example:
terragrunt run plan --source-map "git::ssh://[email protected]/org/repo.git=../local/repo"
This will replace any source URL that matches git::ssh://[email protected]/org/repo.git with ../local/repo.