File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -41,17 +41,4 @@ async function detachCertificateFromElb (certificateArn) {
41
41
return true
42
42
}
43
43
44
- /* // check if a certificate is attached to the elb listener
45
- async function isCertificateAttachedToElb (listenerArn, certificateArn) {
46
- const elbv2 = process.env.NODE_ENV === 'development'
47
- ? new MockELBv2() // use the mocked elb for local development
48
- : new AWS.ELBv2()
49
- const { Certificates } = await elbv2.describeListenerCertificates({ ListenerArn: listenerArn }).promise()
50
- const found = Certificates.some(certificate => certificate.CertificateArn === certificateArn)
51
- if (!found) {
52
- return false
53
- }
54
- return true
55
- } */
56
-
57
44
export { attachCertificateToElb , detachCertificateFromElb }
You can’t perform that action at this time.
0 commit comments