Using git hooks to remove sensitive data from Terraform

If you are using Terraform as much as i do then you will notice that when you are creating new IAM users Terraform will store that user secrete key into the tfstate. This is very useful if you want to keep the tfstate as the source of truth for keys (no judging) but if you are in a share environment that many people have access to that information, you might want to avoid leaking the keys into the tfstate. »

Working with AWS CLI

If you are in the new DevOps space you will see that most of the time when you are dealing with AWS you want to get some information about your environment as quickly as possible. Also if you are lazy like me then you have already some kind of automation in retrieving that kind of information. In case you are not that lazy and you do not have some automated script to get the information you want then i have new for you. »