components
components copied to clipboard
ACM Certificate has an unsupported status of: VALIDATION_TIMED_OUT
Description
Hi, when I try to add a custom domain (eg the 'domain' input property) and then deploy it, I get:
"Your AWS ACM Certificate for the domain "<domain name>" has an unsupported status of: "VALIDATION_TIMED_OUT"
The domain was purchased elsewhere, is loaded into AWS as a public hosted zone, and has an existing wildcard certificate. These work fine with my sls backend infrastructure, enabling me to use sls to spin up the api on different subdomains. But with the website component I get the error mentioned above.
Without the custom domain ('domain' input property) it deploys fine.
Additional Data
Version 1.64.1
Serverless file
name: dev-portal-www
stage: dev
website:
component: '@serverless/website'
inputs:
code:
root: ./ # The root folder of your website project. Defaults to current working directory
src: dist # The folder to be uploaded containing your built artifact
hook: npm run build # A hook to build/test/do anything to your code before uploading
region: ap-southeast-2 # Sydney
bucketName: dev-portal-www # (Optional) The Bucket name where `src` files/folder will be upload.
# If not provided, it will create random bucket name and upload `src` files
env: # Environment variables to include in a 'env.js' file with your uploaded code.
API_URL: https://dev-api.mysite.com
# You can specify a custom domain name for your website.
# You must have a public hosted zone available for this domain in AWS Route53.
# This is done automatically for you if you've purchased the domain via AWS Route53.
domain: dev-portal.mysite.com
Output
Error: Your AWS ACM Certificate for the domain "mysite.com" has an unsupported status of: "VALIDATION_TIMED_OUT". Please remove it manually and deploy again.
Certificate The status or the certificate in the ACM console is 'Issued'.
@seba-i I take this should be reported at https://github.com/serverless-components/website