https://pulumi.com logo
Title
a

agreeable-whale-35898

10/25/2022, 2:22 PM
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

billowy-army-68599

10/25/2022, 2:25 PM
create an explicit provider: https://www.pulumi.com/docs/intro/concepts/resources/providers/#explicit-provider-configuration associate that with your cloudfront distribution
a

agreeable-whale-35898

10/25/2022, 4:03 PM
Perfect, thanks!!