Closed
Description
I have my default region set as eu-west-2 (London). When I ran sui configure-domain
it created the certificate in eu-west-2. However, when it came time to deploy I got the following error message:
21:50:46 | UPDATE_FAILED | AWS::CloudFront::Distribution | ServerlessUI/Cloud...ion/CFDistribution
The specified SSL certificate doesn't exist, isn't in us-east-1 region, isn't valid, or doesn't include a valid certificate chain. (Service: AmazonCloudFront; Status Code: 400; Error Code: InvalidViewerC
ertificate; Request ID: 31551d3c-c0c8-4158-9940-620d17659896; Proxy: null)
21:50:47 | UPDATE_ROLLBACK_IN_P | AWS::CloudFormation::Stack | ServerlessUIAppProduction
The following resource(s) failed to update: [ServerlessUICloudfrontWebDistributionCFDistribution210665E2].
I believe this is because CloudFront requires certificates to be in eu-west-1.
When I created my own certificate in eu-west-1 and used that ARN in my config file then everything went smoothly.
Metadata
Metadata
Assignees
Labels
No labels