Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit 96abc0a

Browse files
committed
Rename certificate output and reference in InfraStack for consistency
1 parent cb26436 commit 96abc0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

infra/lib/certificate-stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class CertificateStack extends cdk.Stack {
2323
validation: CertificateValidation.fromDns(hostedZone),
2424
});
2525

26-
new cdk.CfnOutput(this, 'BeejhoFrontendCertificate', {
26+
new cdk.CfnOutput(this, 'BeejhoFrontendCertificateOutput', {
2727
value: certificate.certificateArn,
2828
exportName: `${this.stackName}-CertificateArn`,
2929
});

infra/lib/infra-stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class InfraStack extends cdk.Stack {
3030
});
3131

3232
const certificateArn = cdk.Fn.importValue(`BeejhoFrontendCertificateStack-CertificateArn`);
33-
const certificate = Certificate.fromCertificateArn(this, 'BeejhoFrontendCertificate', certificateArn);
33+
const certificate = Certificate.fromCertificateArn(this, 'BeejhoFrontendCertificateReference', certificateArn);
3434

3535
// Determine full domain (production uses 'beejho.in', others use 'stg.beejho.in', 'dev.beejho.in')
3636
const domainNames = props.envName !== 'production'

0 commit comments

Comments
 (0)