Skip to content

Instantly share code, notes, and snippets.

@Surgo
Created February 14, 2017 09:09
Show Gist options
  • Save Surgo/2f3bd2d30d1d69f52649456832df71fa to your computer and use it in GitHub Desktop.
Save Surgo/2f3bd2d30d1d69f52649456832df71fa to your computer and use it in GitHub Desktop.
is this collect?
# Both of ap-south-1 and ap-northeast-2 are same prefix list id, but its have different cidrs.
# Is this collect???
$ aws ec2 describe-prefix-lists --region=ap-south-1
{
"PrefixLists": [
{
"PrefixListName": "com.amazonaws.ap-south-1.s3",
"Cidrs": [
"52.92.248.0/22",
"52.219.62.0/23",
"52.219.64.0/22"
],
"PrefixListId": "pl-78a54011"
}
]
}
$ aws ec2 describe-prefix-lists --region=ap-northeast-2
{
"PrefixLists": [
{
"PrefixListName": "com.amazonaws.ap-northeast-2.s3",
"Cidrs": [
"52.92.0.0/20",
"52.219.60.0/23",
"52.219.56.0/22"
],
"PrefixListId": "pl-78a54011"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment