Last active
March 16, 2018 05:23
-
-
Save nshenry03/609c60444ec45becc189afae05c17f07 to your computer and use it in GitHub Desktop.
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
for tr in $( | |
curl -s https://github.com/terraform-aws-modules \ | |
| fgrep 'itemprop="name codeRepository"' \ | |
| sed -e 's|.*/terraform-aws-modules/||' -e 's|".*||' | |
) | |
do | |
git clone https://github.com/terraform-aws-modules/${tr}.git | |
done | |
for tr in $( | |
curl -s 'https://github.com/Azure?q=terraform' \ | |
| fgrep 'itemprop="name codeRepository"' \ | |
| sed -e 's|.*/Azure/||' -e 's|".*||' \ | |
| fgrep terraform-azurerm | |
) | |
do | |
git clone https://github.com/Azure/${tr}.git | |
done | |
for tr in $( | |
curl -s 'https://github.com/GoogleCloudPlatform?q=terraform' \ | |
| fgrep 'itemprop="name codeRepository"' \ | |
| sed -e 's|.*/GoogleCloudPlatform/||' -e 's|".*||' | |
) | |
do | |
git clone https://github.com/GoogleCloudPlatform/${tr}.git | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment