Skip to content

Commit

Permalink
chore: disable https listener
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleyjtaylor committed Mar 11, 2024
1 parent 8aedf9b commit 382f14b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions infrastructure/src/env/constructs/compute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
// })
}
}

0 comments on commit 382f14b

Please sign in to comment.