Join Slack
Powered by
hey ya, i'm using crosswalk to generate a vpc, wit...
# python
s
shy-bird-55689
10/04/2022, 4:27 PM
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
green-stone-37839
10/04/2022, 4:31 PM
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
shy-bird-55689
10/04/2022, 6:38 PM
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')
Open in Slack
Previous
Next