Channels
esc
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
policy-as-code
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
general
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#python
Title
# 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')
Post