Skip to content

fix(ec2): interface endpoints do not work with Vpc.fromLookup() - #18554

Merged
mergify[bot] merged 3 commits into
masterfrom
huijbers/ec2-endpoint-lookup
Jan 20, 2022
Merged

mergify[bot] merged 3 commits into
masterfrom
huijbers/ec2-endpoint-lookup

Conversation

@rix0rrr

@rix0rrr rix0rrr commented Jan 20, 2022

Copy link
Copy Markdown
Contributor

The validation was too eager, causing a validation error before
the actual lookup happened.

Add a property to SelectedSubnets to make it clear in consuming
code that validation shouldn't happen yet.

Fixes #17600.


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

The validation was too eager, causing a validation error before
the actual lookup happened.

Add a property to `SelectedSubnets` to make it clear in consuming
code that validation shouldn't happen yet.

Fixes #17600.
@rix0rrr
rix0rrr requested a review from a team January 20, 2022 09:54
@rix0rrr rix0rrr self-assigned this Jan 20, 2022
@gitpod-io

gitpod-io Bot commented Jan 20, 2022

Copy link
Copy Markdown

@github-actions github-actions Bot added the @aws-cdk/aws-ec2 Related to Amazon Elastic Compute Cloud label Jan 20, 2022
@mergify mergify Bot added the contribution/core This is a PR that came from AWS. label Jan 20, 2022
@mergify

mergify Bot commented Jan 20, 2022

Copy link
Copy Markdown
Contributor

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).

@aws-cdk-automation

Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

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

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

@mergify
mergify Bot merged commit f55cd2b into master Jan 20, 2022
@mergify
mergify Bot deleted the huijbers/ec2-endpoint-lookup branch January 20, 2022 16:18
@mergify

mergify Bot commented Jan 20, 2022

Copy link
Copy Markdown
Contributor

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).

TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
…s#18554)

The validation was too eager, causing a validation error before
the actual lookup happened.

Add a property to `SelectedSubnets` to make it clear in consuming
code that validation shouldn't happen yet.

Fixes aws#17600.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
ali-n4i pushed a commit to ali-n4i/aws-cdk that referenced this pull request Jul 29, 2026
…s#18554)

The validation was too eager, causing a validation error before
the actual lookup happened.

Add a property to `SelectedSubnets` to make it clear in consuming
code that validation shouldn't happen yet.

Fixes aws#17600.


----

*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-ec2 Related to Amazon Elastic Compute Cloud contribution/core This is a PR that came from AWS.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aws-ec2: Cannot create VPC Endpoint using existing VPC & Subnets if cdk.context.json is missing VPC information

3 participants