Last active
February 7, 2019 23:56
-
-
Save jayers99/41b67385b9ebe9e95261841156df62e5 to your computer and use it in GitHub Desktop.
filter out policy json from tf file
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
| awk '/policy = <<-EOF/{f=1; next}/^ EOF/{f=0}f' filename.tf | jq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment