Hey. I am now trying to release to a different reg...
# sst
y
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
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
So I should use the
us-east-1
cert then
Ok let me try that
Seems to be working, thanks !!