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

feat(ec2): create Peers via security group ids #18248

Merged
merged 6 commits into from Jan 19, 2022
Merged

Conversation

jacobklitzke
Copy link
Contributor

Allows users to add ingress/egress security group rules containing a security group id using the Peer interface.

Implements #7111


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

Allows users to add ingress/egress security group rules containing a security group id using the Peer interface.

Implements aws#7111
@gitpod-io
Copy link

gitpod-io bot commented Jan 3, 2022

@github-actions github-actions bot added the @aws-cdk/aws-ec2 Related to Amazon Elastic Compute Cloud label Jan 3, 2022
Jacob Klitzke added 4 commits January 3, 2022 10:04
Allows users to add ingress/egress security group rules containing a security group id using the Peer interface.

Implements aws#7111
Allows users to add ingress/egress security group rules containing a security group id using the Peer interface.

Implements aws#7111
Copy link
Contributor

@njlynch njlynch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

However, I do question whether allowing the ownership information to be optional makes sense, given it then just replicates the behavior of SecurityGroup.

Also, can you update the docstring for the Peer class as part of this? The last paragraph explicitly mentions Security Groups and looks like it needs a slight update as part of this.

packages/@aws-cdk/aws-ec2/lib/peer.ts Show resolved Hide resolved
@njlynch njlynch added the pr-linter/exempt-readme The PR linter will not require README changes label Jan 19, 2022
@njlynch njlynch changed the title feat(aws-ec2): support for security group ids within peer interface feat(ec2): create Peers via security group ids Jan 19, 2022
@mergify
Copy link
Contributor

mergify bot commented Jan 19, 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).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 5abdad9
  • 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 9d1b2c7 into aws:master Jan 19, 2022
@mergify
Copy link
Contributor

mergify bot commented Jan 19, 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).

TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
Allows users to add ingress/egress security group rules containing a security group id using the Peer interface.

Implements aws#7111


----

*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 pr-linter/exempt-readme The PR linter will not require README changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants