Skip to content

Commit

Permalink
zoneName: domainName
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Graves committed Dec 23, 2023
1 parent 0ce4eb6 commit f8a1356
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import * as acm from "aws-cdk-lib/aws-certificatemanager";
import * as s3Deployment from "aws-cdk-lib/aws-s3-deployment";
import * as cloudfrontOrigins from "aws-cdk-lib/aws-cloudfront-origins";

const zoneName = "isaac.works";
const domainName = `stackline.${zoneName}`;
const domainName = `stackline.isaac.works`;

export class Stack extends cdk.Stack {
constructor(scope: Construct, id: string, props?: cdk.StackProps) {
Expand All @@ -29,7 +28,7 @@ export class Stack extends cdk.Stack {
bucket.grantRead(originAccessIdentity);

const hostedZone = new route53.PublicHostedZone(this, `${id}HostedZone`, {
zoneName
zoneName: domainName
});

const certificate = new acm.Certificate(this, `${id}Certificate`, {
Expand Down

0 comments on commit f8a1356

Please sign in to comment.