From 382f14b7c8688287ab8362219a74bedf27344147 Mon Sep 17 00:00:00 2001 From: ashley taylor Date: Mon, 11 Mar 2024 16:31:06 +0000 Subject: [PATCH] chore: disable https listener --- infrastructure/src/env/constructs/compute.ts | 22 ++++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/infrastructure/src/env/constructs/compute.ts b/infrastructure/src/env/constructs/compute.ts index 9871d7c..63767af 100644 --- a/infrastructure/src/env/constructs/compute.ts +++ b/infrastructure/src/env/constructs/compute.ts @@ -56,13 +56,13 @@ export class Compute extends Construct { defaultAction: ListenerAction.redirect({ protocol: ApplicationProtocol.HTTPS }) }) - const httpsListener = loadBalancer.addListener('HTTPS', { - port: 443, - protocol: ApplicationProtocol.HTTPS, - defaultAction: ListenerAction.fixedResponse(503, { - messageBody: '503 Service Unavailable' - }) - }) + // const httpsListener = loadBalancer.addListener('HTTPS', { + // port: 443, + // protocol: ApplicationProtocol.HTTPS, + // defaultAction: ListenerAction.fixedResponse(503, { + // messageBody: '503 Service Unavailable' + // }) + // }) /****************************** * Parameter Store @@ -97,9 +97,9 @@ export class Compute extends Construct { stringValue: cluster.clusterName }) - new StringParameter(this, 'LoadBalancerHttpsListenerArn', { - parameterName: `/${project}/${env}/loadBalancerHttpsListenerArn`, - stringValue: httpsListener.listenerArn - }) + // new StringParameter(this, 'LoadBalancerHttpsListenerArn', { + // parameterName: `/${project}/${env}/loadBalancerHttpsListenerArn`, + // stringValue: httpsListener.listenerArn + // }) } }