Created
December 1, 2015 01:17
-
-
Save amosshapira/c5fd3c5dc022b7ca589f to your computer and use it in GitHub Desktop.
Extract the PolicyDocument of an AWS VPC Endpoint
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
| #!/bin/bash | |
| aws ec2 describe-vpc-endpoints --region ap-southeast-2 | \ | |
| jq -r '.VpcEndpoints[].PolicyDocument' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment