Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. cat statefile.tfstate | jq '.. | objects | with_entries(select(.key | contains("aws_network_acl_rule"))) | select(. != {})'
  2.  
  3. # all the acl objects
  4. jq '.modules[].resources[].primary | select(.id | startswith("acl-"))' statefile.tfstate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement