This file contains hidden or 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
| #!/bin/bash | |
| ### | |
| ### `github_repos_migration.sh` script purpose is to migrate the state to a new GitHub repositories root module. | |
| ### This script must be run from your root-modules directory, see below for the expected directory structure. | |
| ### └── root-modules | |
| ### ├── terralith # legacy root module ($SRC_ROOT_MODULE) | |
| ### └── github-repos # new root module ($DESTINATION_ROOT_MODULE) | |
| set -eu -o pipefail |