-
Notifications
You must be signed in to change notification settings - Fork 916
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add module_prefix to modules_config - Add example to Readme.md - use module_prefix variable to specify the path
- Loading branch information
1 parent
13a7d3c
commit 20ed68e
Showing
3 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,7 +145,7 @@ resource "github_repository_file" "default" { | |
? replace( | ||
file(each.value.file), | ||
"/source(\\s*)=\\s*\"../../../modules/([^/\"]+)\"/", | ||
"source$1= \"[email protected]:${local.modules_repo}.git//$2${local.modules_ref}\"" # " | ||
"source$1= \"[email protected]:${local.modules_repo}.git//${local.module_prefix}$2${local.modules_ref}\"" # " | ||
) | ||
: file(each.value.file) | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters