hey ya, i'm using crosswalk to generate a vpc, wit...
# python
s
hey ya, i'm using crosswalk to generate a vpc, with a s3 gateway endpoint. Having issues accessing the prefix list ids to then pass in when creating a security group. Any ideas?
g
I think you're likely going to have to use something like https://www.pulumi.com/registry/packages/aws/api-docs/ec2/getvpcendpoint/ to lookup the specific s3 endpoint and retrieve the prefixlist.
s
thanks @green-stone-37839 Turns out i just needed to use a managed prefix list in the end so used
aws.ec2.get_managed_prefix_list(name='com.amazonaws.eu-west-2.s3')