Hi. trying to deploy the sample for Cloudfront dis...
# general
s
Hi. trying to deploy the sample for Cloudfront distrib with Cloudfront origin control with latest pulumi.
Copy code
example = aws.cloudfront.OriginAccessControl("example",
    description="Example Policy",
    origin_access_control_origin_type="s3",
    signing_behavior="always",
    signing_protocol="sigv4")
Getting this error message, any fix available?
Copy code
AttributeError: module 'pulumi_aws.cloudfront' has no attribute 'OriginAccessControl'
e
Where is this sample from? If it's one of ours we can probably nudge the content team to check and update it.
I'd double check your python requirements, might have a very old aws library installed.
s
Will check and update results
Tested on a new project locally and it worked. Now need to see how to update this in my app using automation api 😅