This message was deleted.
# general
s
This message was deleted.
c
What am I doing wrong?
When I try to use this use with in the cloudfront webaclid. I run into this error
Copy code
error updating CloudFrontDistribution (asdasdasd): InvalidWebACLId: Web ACL is not accessible by the requester.
        status code: 400, request id: 895bdefa-2710-11e9-9f38-5156e40a13f9
I am able to see the web acl is created in a region when I look at the aws console.
@white-balloon-205 @gorgeous-egg-16927 Could either of you help with this?
w
Honestly I'm not an expert on WAF. It's possible that you need to stand up the WAF resources in the
us-east-1
region? (You could create a
new aws.Provider({ region: "us-east-1"})
to do this). Also notable that there are separate
aws.waf
and
aws.wafregional
resources. I would have thought the former was what you wanted here - but there may be subtle requirements of one or the other related to CloudFront? Also possible there's just some other IAM issue here? If you have a reduced repro I could try to take a look myself - though can't promise any particularly deep insights 🙂.
c
@white-balloon-205 Thanks, will put out sample code so that it will help you