Created
March 30, 2016 23:32
-
-
Save hashbrowncipher/1e54cabc7ed6d2d513f923e9bf2db1e0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jq 'reduce (.modules[].resources | to_entries) as $item ([]; . + $item) | map(select(.value.type == "aws_s3_bucket")) | from_entries' prodt/terraform.tfstate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment