3 Answers
- Newest
- Most votes
- Most comments
3
You have found Cloudfront prefix from Frankfurt region =)
aws ec2 describe-managed-prefix-lists --filters Name=prefix-list-name,Values=com.amazonaws.global.cloudfront.origin-facing --region eu-central-1
{
"PrefixLists": [
{
"PrefixListId": "pl-a3a144ca",
"AddressFamily": "IPv4",
"State": "create-complete",
"PrefixListArn": "arn:aws:ec2:eu-central-1:aws:prefix-list/pl-a3a144ca",
"PrefixListName": "com.amazonaws.global.cloudfront.origin-facing",
"Tags": [],
"OwnerId": "AWS"
}
]
}
Milan is different
eu-south-1:
PrefixList: pl-1bbc5972
1
The prefix list is in eu-central-1 (Frankfurt, Germany) and the security group is in eu-south-1 (Milan, Italy), as you said.
You have to use the equivalent prefix list in eu-south-1.
1
Hello,
Adding a region options to the command would get the correct Prefix id for Milan region:
aws ec2 describe-managed-prefix-lists --filters Name=prefix-list-name,Values=com.amazonaws.global.cloudfront.origin-facing --region eu-south-1
Relevant content
- asked a year ago
- asked a year ago
- AWS OFFICIALUpdated 3 years ago