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
tee -a provider.tf << EOF
terraform {
required_providers {
google = {
source = "hashicorp/aws"
}
}
required_version = ">= 0.13"
}
EOF
terraform init
mkdir ~/aws-root
cd ~/aws-root
terraformer import aws --resources="*" --regions=us-east-1,us-east-2,us-west-1,us-west-2 --profile=root_credentials
tree generated