Last active
December 7, 2021 20:22
-
-
Save sblack4/a43c1352d3ddc84f61af43bf38661beb to your computer and use it in GitHub Desktop.
Updates a module to whatever is in our template module: https://github.com/rhythmictech/terraform-terraform-template
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 -e | |
# run with | |
# git clone https://gist.github.com/a43c1352d3ddc84f61af43bf38661beb.git | |
# bash ./a43c1352d3ddc84f61af43bf38661beb/update-terraform-module.sh | |
git clone https://github.com/rhythmictech/terraform-terraform-template.git tmp | |
rm -rf .github bin | |
mv tmp/.github .github | |
mv tmp/bin bin | |
mv tmp/.pre-commit-config.yaml .pre-commit-config.yaml | |
mv tmp/.tflint.hcl .tflint.hcl | |
mv tmp/.yamllint.yml .yamllint.yml | |
rm -rf tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment