Skip to content

Instantly share code, notes, and snippets.

@antonbabenko
Last active September 17, 2021 08:29
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 antonbabenko/1d8106d9f96983a4df718e3bfbf09d05 to your computer and use it in GitHub Desktop.
Save antonbabenko/1d8106d9f96983a4df718e3bfbf09d05 to your computer and use it in GitHub Desktop.
Let me help you to decide whether you are using some of my work. Please consider supporting me!
#!/bin/bash
# If you are using some terraform-aws-modules, pre-commit-terraform, or other projects I am heavily involved into
# please consider support me on GitHub Sponsors or any other platform!
#
# Here you can see most of my projects - https://github.com/antonbabenko/terraform-aws-devops
find . -type f \( -name "*.tf" -o -name "*.yaml" \) -and \( -not -path "*/.terraform/*" \) -exec \
grep -E 'terraform-aws-modules|antonbabenko/pre-commit-terraform' -q {} + && \
echo "Found some references... You are using some open-source projects by Anton, please support @antonbabenko" && \
open https://github.com/sponsors/antonbabenko || \
echo "Nothing found. Maybe you don't use Terraform or AWS? Try to run this in the right directory :)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment