Channels
pulumi-ai
package-authoring
pulumi-cdk
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
cloudengineering
yaml
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
blog-posts
localstack
welcome
gitlab
pulumi-kubernetes-operator
jobs
aws
pulumi-deployments
dotnet
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
general
Powered by
Title
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')
#python
Join Slack