Using terraformer to assess what AWS services are configured and in-use.

There are so many AWS services. Over 80?!?

Although a AWS billing report may narrow down what service is in use. How about if a service is configured?

One quick method to gather what’s in use can be achieved via terraformer. Yes, add the ’er’ to the end of terraform :D

  1. tee -a provider.tf << EOF
  2. terraform {
  3. required_providers {
  4. google = {
  5. source = "hashicorp/aws"
  6. }
  7. }
  8. required_version = ">= 0.13"
  9. }
  10. EOF
  11. terraform init
  12. mkdir ~/aws-root
  13. cd ~/aws-root
  14. terraformer import aws --resources="*" --regions=us-east-1,us-east-2,us-west-1,us-west-2 --profile=root_credentials
  15. tree generated