terraform-infra-as-code-coverage-badges
terraform-infra-as-code-coverage-badges copied to clipboard
Terraform / infrastructure-as-code coverage badges - how much of your AWS infrastructure is managed by Terraform?
Was using the same context in find_all_volumes as find_untagged_volumes ("Volumes[].{ID: VolumeId}") which doesn't appear to show tag information. Perhaps just contextual change from prior aws json output?
I noticed that generating the badges looked repetitive, so I have refactored that into its own function. Additionally, I removed the default AWS_PROFILE variable. Having this makes this script impossible...
Initial concept is: - Use AWS API to list all of a specified resource - Use output of Terraform plan to show what resources are created - Run a diff...
AWS cloudfront supports tags and so does the terraform resource.
- Document minimal IAM requirements to run this script. - Include a script to create said IAM role.