https://serverless-stack.com/ logo
#sst
Title
# sst
y

Yeltrah

01/09/2022, 11:30 AM
Hey. I am now trying to release to a different region with different domain and certificate, where the first release I did worked fine for
us-east-1
. So I’m using the following command
sst deploy "--stage" "master" "--region" "eu-west-1"
and I have a AWS certificate ARN in
eu-west-1
. I’m also setting the REGION to
eu-west-1
and I can see this is all set properly. However during the deployment I see the following error
Error: Distribution certificates must be in the us-east-1 region and the certificate you provided is in eu-west-1.
Is there another place or config where this needs to be set so that it deploys to the
eu-west-1
region and not the
us-east-1
as it appears to be doing based on the error.
o

Omi Chowdhury

01/09/2022, 11:36 AM
No need to do that - cloudfront distribution certificates must always be in
us-east-1
regardless of which region you create the distribution
I think if you just recreate the cert in
us-east-1
it will work
y

Yeltrah

01/09/2022, 11:37 AM
So I should use the
us-east-1
cert then
Ok let me try that
Seems to be working, thanks !!
2 Views