Skip to content

When deploying command adds cloudfront cname #65

Description

@Ewan-Roberts

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions