3) make sure you have a .gitignore file
4) make use of override.tf so you can test it locally. Here you can put sensitive data and in combination with .gitignore it won't be checked in.
5) use terraform validate before checking in
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
3) make sure you have a .gitignore file
4) make use of override.tf so you can test it locally. Here you can put sensitive data and in combination with .gitignore it won't be checked in.
5) use terraform validate before checking in