Skip to content

Instantly share code, notes, and snippets.

@nshenry03
Last active March 16, 2018 05:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nshenry03/609c60444ec45becc189afae05c17f07 to your computer and use it in GitHub Desktop.
Save nshenry03/609c60444ec45becc189afae05c17f07 to your computer and use it in GitHub Desktop.
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