-
Notifications
You must be signed in to change notification settings - Fork 4
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
CMDCT-4184 cdk-side prepping cdk to import Cloudfront Distribution #14991
base: jon-cdk
Are you sure you want to change the base?
Conversation
c289ddd
to
bcd5ba1
Compare
bcd5ba1
to
3935ac4
Compare
@@ -136,7 +148,6 @@ export function createUiComponents(props: CreateUiComponentsProps) { | |||
const applicationEndpointUrl = `https://${distribution.distributionDomainName}/`; | |||
|
|||
setupWaf(scope, stage, project, deploymentConfigParameters); | |||
setupRoute53(scope, distribution, deploymentConfigParameters); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was never actually being created or used.
deployment/stacks/ui.ts
Outdated
@@ -95,6 +93,20 @@ export function createUiComponents(props: CreateUiComponentsProps) { | |||
} | |||
); | |||
|
|||
// new cloudfront.Distribution( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the simplified version of the distribution that will initially be used for import. Once imported we'll update it to bring it back into the fully featured setup Jon got working for cdk.
Description
This change is not to be deployed until we are ready to convert to cdk. For full details of the order of events recommended to preserve our Cloudfront Distribution check out this readme: https://github.com/Enterprise-CMCS/macpro-mdct-seds/blob/cmdct-4184-cdk/import_instructions.md
The idea is that by preserving Cloudfront Distribution we will be able to deploy cdk without requiring any external DNS changes. 🎉
Related ticket
CMDCT-4184
How to test
If you want to you can do the following to test this PR:
Notes
NA
Pre-review checklist
Pre-merge checklist
Review
Security
If either of the following are true, notify the team's ISSO (Information System Security Officer).
convert to a different template: test → val | val → prod