Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(elbv2): unable to add multiple certificates to NLB #19289

Merged
merged 3 commits into from
Mar 31, 2022
Merged

fix(elbv2): unable to add multiple certificates to NLB #19289

merged 3 commits into from
Mar 31, 2022

Conversation

corymhall
Copy link
Contributor

This PR does a couple of things to update the NetworkListener to be on
par with ApplicationListener.

  1. Add a NetworkListenerCertificate construct that allows you to
    associate multiple certificates with a listener.
  2. Add a addCertificates method to NetworkListener similar to the
    same method on the ApplicationListener.

This is needed because even though the certificates property on a
Listeneris an array, it expects only one certificate. To add more than
one you have to create an
AWS::ElasticLoadBalancingV2::ListenerCertificate. This functionality
was added to ApplicationListner via #13490.

fixes #8918, #15328


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

This PR does a couple of things to update the NetworkListener to be on
par with ApplicationListener.

1. Add a NetworkListenerCertificate construct that allows you to
   associate multiple certificates with a listener.
2. Add a `addCertificates` method to `NetworkListener` similar to the
   same method on the `ApplicationListener`.

This is needed because even though the `certificates` property on a
`Listener`is an array, it expects only one certificate. To add more than
one you have to create an
`AWS::ElasticLoadBalancingV2::ListenerCertificate`. This functionality
was added to `ApplicationListner` via #13490.

fixes #8918, #15328
@gitpod-io
Copy link

gitpod-io bot commented Mar 8, 2022

@github-actions github-actions bot added the @aws-cdk/aws-elasticloadbalancingv2 Related to Amazon Elastic Load Balancing V2 label Mar 8, 2022
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Mar 8, 2022
@corymhall corymhall requested a review from a team March 8, 2022 19:21
@rix0rrr rix0rrr added bug This issue is a bug. p1 and removed contribution/core This is a PR that came from AWS. @aws-cdk/aws-elasticloadbalancingv2 Related to Amazon Elastic Load Balancing V2 labels Mar 8, 2022
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Mar 8, 2022
@rix0rrr rix0rrr changed the title fix(elbv2): unable to add multiple certificates to nlb fix(elbv2): unable to add multiple certificates to NLB Mar 31, 2022
@github-actions github-actions bot added effort/small Small work item – less than a day of effort p2 and removed p1 labels Mar 31, 2022
@mergify
Copy link
Contributor

mergify bot commented Mar 31, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit e8142e9 into aws:master Mar 31, 2022
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: b976730
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Mar 31, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

StevePotter pushed a commit to StevePotter/aws-cdk that referenced this pull request Apr 27, 2022
This PR does a couple of things to update the NetworkListener to be on
par with ApplicationListener.

1. Add a NetworkListenerCertificate construct that allows you to
   associate multiple certificates with a listener.
2. Add a `addCertificates` method to `NetworkListener` similar to the
   same method on the `ApplicationListener`.

This is needed because even though the `certificates` property on a
`Listener`is an array, it expects only one certificate. To add more than
one you have to create an
`AWS::ElasticLoadBalancingV2::ListenerCertificate`. This functionality
was added to `ApplicationListner` via aws#13490.

fixes aws#8918, aws#15328

----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. contribution/core This is a PR that came from AWS. effort/small Small work item – less than a day of effort p2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[@aws-cdk/aws-elasticloadbalancingv2] Unable to add multiple certificate for NLB (TLS)
3 participants