Skip to content

Commit

Permalink
CMDCT-4184 - cleaning up whitespace and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
peoplespete committed Dec 9, 2024
1 parent 3794bdf commit bcd5ba1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
24 changes: 14 additions & 10 deletions deployment/stacks/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 0 additions & 2 deletions src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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, ".");
}
Expand Down

0 comments on commit bcd5ba1

Please sign in to comment.