This message was deleted.
# python
s
This message was deleted.
s
Not 100% sure, but it does not look like you can query for multiple distributions. All I see is this, which requires an ID: https://www.pulumi.com/registry/packages/aws/api-docs/cloudfront/getdistribution/ Are you trying to bring CloudFront Distributions under Pulumi management? If so, you'll want to query via boto3 and then use the
pulumi import
command. This blog post shows how to do it for other resource types like VPCs, so you'd need to modify this code slightly to do the same for CloudFront Distributions: https://www.pulumi.com/blog/automating-pulumi-import-to-bring-manually-created-resources-into-iac/
🙌 1