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

feat(cloudfront): Distribution - alternate domains #9699

Merged
merged 4 commits into from Aug 17, 2020
Merged

Conversation

njlynch
Copy link
Contributor

@njlynch njlynch commented Aug 14, 2020

Enable users to associate one or more alternate domain names with a
distribution. Originally, the plan was for this to come directly from the
certificate (if provided); however, the ICertificate does not include the
certificate domains.

Given adding a certificate without specifying the aliases is effectively a
no-op (the certificate will never be used), opted to make this an error instead
of a warning (a breaking change). Open to discussion and debate on this point.

BREAKING CHANGE: Distribution: .domains must be specified if certificate is provided.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Enable users to associate one or more alternate domain names with a
distribution. Originally, the plan was for this to come directly from the
certificate (if provided); however, the `ICertificate` does not include the
certificate domains.

Given adding a certificate without specifying the aliases is effectively a
no-op (the certificate will never be used), opted to make this an error instead
of a warning (a breaking change). Open to discussion and debate on this point.

BREAKING CHANGE: `domains` must be specified if `certificate` is provided.
@njlynch njlynch requested a review from a team August 14, 2020 10:47
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Aug 14, 2020
@skinny85 skinny85 added the pr/do-not-merge This PR should not be merged at this time. label Aug 14, 2020
Copy link
Contributor

@skinny85 skinny85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! One tiny cosmetic comment that you can incorporate if you want.

I set the label to pr/do-not-merge, feel free to remove at your leisure 🙂.

packages/@aws-cdk/aws-cloudfront/lib/distribution.ts Outdated Show resolved Hide resolved
@njlynch njlynch assigned njlynch and unassigned iliapolo Aug 17, 2020
@njlynch njlynch removed the pr/do-not-merge This PR should not be merged at this time. label Aug 17, 2020
@mergify
Copy link
Contributor

mergify bot commented Aug 17, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify
Copy link
Contributor

mergify bot commented Aug 17, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 97e44a7 into master Aug 17, 2020
@mergify mergify bot deleted the njlynch/cf-domains branch August 17, 2020 10:07
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: da93637
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants