Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When deploying command adds cloudfront cname #65

Open
Ewan-Roberts opened this issue Oct 11, 2020 · 0 comments
Open

When deploying command adds cloudfront cname #65

Ewan-Roberts opened this issue Oct 11, 2020 · 0 comments

Comments

@Ewan-Roberts
Copy link

Ewan-Roberts commented Oct 11, 2020

Result from : sls deploy

Updating CloudFront distribution of ID XXXXXXXX.
Adding "xxxxx.com" certificate to CloudFront distribution
Adding domain "www.xxxxx.com" to CloudFront distribution
Adding domain "xxxxx.com" to CloudFront distribution

I dont own the CNAME for www.xxxxx.com so it throws a InvalidViewerCertificate

serverless.yml

component: website
name: landing-page4
stage: dev

inputs:
  domain: 'http://www.xxxxx.com'
  src:
    src: ./src
    hook: npm run build
    dist: ./dist

Why is it adding the www domain? I cant deploy to live as it stands as its forcing this options. Appreciate some help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant