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): BaseLoadBalancer.vpc is not optional #18474

Merged
merged 3 commits into from Jan 18, 2022
Merged

Conversation

RomainMuller
Copy link
Contributor

The BaseLoadBalancer.vpc property fulfills the IApplicationLoadBalancer.vpc and
INetworkLoadBalancer.vpc properties, both of which are optional. A bug in jsii (see aws/jsii#3342)
makes this pass type system consistency checks, when it should not be allowed.


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

The `BaseLoadBalancer.vpc` property fulfills the `IApplicationLoadBalancer.vpc` and
`INetworkLoadBalancer.vpc` properties, both of which are optional. A bug in `jsii` (see aws/jsii#3342)
makes this pass type system consistency checks, when it should not be allowed.
@RomainMuller RomainMuller added the @aws-cdk/aws-elasticloadbalancingv2 Related to Amazon Elastic Load Balancing V2 label Jan 17, 2022
@RomainMuller RomainMuller requested a review from a team January 17, 2022 17:22
@RomainMuller RomainMuller self-assigned this Jan 17, 2022
@gitpod-io
Copy link

gitpod-io bot commented Jan 17, 2022

@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Jan 17, 2022
@RomainMuller RomainMuller added the pr-linter/exempt-test The PR linter will not require test changes label Jan 18, 2022
@mergify
Copy link
Contributor

mergify bot commented Jan 18, 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 f511c17 into master Jan 18, 2022
@mergify mergify bot deleted the rmuller/optional-vpc branch January 18, 2022 09:33
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

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

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

TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
The `BaseLoadBalancer.vpc` property fulfills the `IApplicationLoadBalancer.vpc` and
`INetworkLoadBalancer.vpc` properties, both of which are optional. A bug in `jsii` (see aws/jsii#3342)
makes this pass type system consistency checks, when it should not be allowed.


----

*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
@aws-cdk/aws-elasticloadbalancingv2 Related to Amazon Elastic Load Balancing V2 contribution/core This is a PR that came from AWS. pr-linter/exempt-test The PR linter will not require test changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants