Hi, I couldn't find anywhere how to specify a regi...
# general
a
Hi, I couldn't find anywhere how to specify a region for an AWS lambda. I have a CloudFront
Distribution
with I need to authenticate its calls with Lambda@Edge (I believe this is how it is called, anyway..). But Lambda@Edge must be located at
us-east-1
, while my entire stack is at
eu-central-1
. So how do I set the region of a
Pulumi.Aws.Lambda.Function
?
b
create an explicit provider: https://www.pulumi.com/docs/intro/concepts/resources/providers/#explicit-provider-configuration associate that with your cloudfront distribution
a
Perfect, thanks!!