diff --git a/deployment/stacks/ui.ts b/deployment/stacks/ui.ts index 61ea71def..b8ab18d5b 100644 --- a/deployment/stacks/ui.ts +++ b/deployment/stacks/ui.ts @@ -93,19 +93,23 @@ export function createUiComponents(props: CreateUiComponentsProps) { } ); - // new cloudfront.Distribution(scope, 'CloudFrontDistribution', { - // defaultBehavior: { - // origin: new cloudfrontOrigins.HttpOrigin( - // 'www.example.com', - // { originId: 'Default'} - // ), - // cachePolicy: cloudfront.CachePolicy.CACHING_DISABLED, - // }, - // }); + // new cloudfront.Distribution( + // scope, + // 'CloudFrontDistribution', + // { + // defaultBehavior: { + // origin: new cloudfrontOrigins.HttpOrigin( + // 'www.example.com', + // { originId: 'Default'} + // ), + // cachePolicy: cloudfront.CachePolicy.CACHING_DISABLED, + // }, + // } + // ); const distribution = new cloudfront.Distribution( scope, - "CloudFrontDistribution", + "CloudFrontDistribution", { certificate: deploymentConfigParameters.cloudfrontCertificateArn ? acm.Certificate.fromCertificateArn( diff --git a/src/run.ts b/src/run.ts index 365c134c3..0da3b3dd0 100644 --- a/src/run.ts +++ b/src/run.ts @@ -209,8 +209,6 @@ async function deploy(options: { stage: string }) { const stage = options.stage; const runner = new LabeledProcessRunner(); await prepare_services(runner); - // const importCmd = ["cdk", "import", "--context", `stage=${stage}`]; //#--force - // await runner.run_command_and_output("CDK import", importCmd, "."); const deployCmd = ["cdk", "deploy", "--context", `stage=${stage}`, "--all"]; await runner.run_command_and_output("CDK deploy", deployCmd, "."); }