Skip to content

fix(elasticloadbalancingv2): securityGroup property is not required in fromApplicationListenerAttributes#21934

Merged
mergify[bot] merged 10 commits intoaws:mainfrom
marciocadev:ApplicationListener
Sep 11, 2022
Merged

fix(elasticloadbalancingv2): securityGroup property is not required in fromApplicationListenerAttributes#21934
mergify[bot] merged 10 commits intoaws:mainfrom
marciocadev:ApplicationListener

Conversation

@marciocadev
Copy link
Copy Markdown
Contributor

@marciocadev marciocadev commented Sep 7, 2022

Problem

The static method fromApplicationListenerAttributes was describe with securityGroup property optional on documentation but this will throw an error because securityGroup is required

Solution

This PR makes the securityGroup property mandatory

Fixes #21930

All Submissions:

Adding new Unconventional Dependencies:

  • This PR adds new unconventional dependencies following the process described here

New Features

  • Have you added the new feature to an integration test?
    • Did you use yarn integ to deploy the infrastructure and generate the snapshot (i.e. yarn integ without --dry-run)?

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

@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Sep 7, 2022

@aws-cdk-automation aws-cdk-automation requested a review from a team September 7, 2022 00:48
@github-actions github-actions bot added bug This issue is a bug. effort/small Small work item – less than a day of effort p2 labels Sep 7, 2022
Copy link
Copy Markdown
Contributor

@TheRealAmazonKendra TheRealAmazonKendra left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution! We will need tests on this fix. Additionally, please remove the securityGroupId prop since we don't use it in v2 (v1 and v2 used to need to be as similar as possible but we don't need that anymore so we can remove unused stuff).

Also, please make sure that your PR title confirms to the conventional commit standard (fix, feat, chore) and that it is written in a style that will reflect correctly in the change log (See Contributing Guide, Pull Requests)

@mergify mergify bot dismissed TheRealAmazonKendra’s stale review September 7, 2022 01:41

Pull request has been modified.

@marciocadev marciocadev changed the title fix(aws-elasticloadbalancingv2): The securityGroup property is not optional fix(aws-elasticloadbalancingv2): Making securityGroup property required Sep 7, 2022
@marciocadev marciocadev changed the title fix(aws-elasticloadbalancingv2): Making securityGroup property required fix(aws-elasticloadbalancingv2): Changing securityGroup property to required Sep 7, 2022
@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: f446998
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@TheRealAmazonKendra TheRealAmazonKendra changed the title fix(aws-elasticloadbalancingv2): Changing securityGroup property to required fix(elasticloadbalancingv2): securityGroup property is not required in fromApplicationListenerAttributes Sep 11, 2022
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Sep 11, 2022

Thank you for contributing! Your pull request will be updated from main 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 e501ac9 into aws:main Sep 11, 2022
Kruspe pushed a commit to DavidSchwarz2/aws-cdk that referenced this pull request Sep 13, 2022
…n fromApplicationListenerAttributes (aws#21934)

### Problem

The static method `fromApplicationListenerAttributes` was describe with `securityGroup` property optional on documentation but this will throw an error because `securityGroup` is required

### Solution

This PR makes the `securityGroup` property mandatory

Fixes aws#21930 
----

### All Submissions:

* [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)

### Adding new Unconventional Dependencies:

* [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)

### New Features

* [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
mackalex pushed a commit to wanjacki/aws-cdk that referenced this pull request Sep 15, 2022
…n fromApplicationListenerAttributes (aws#21934)

### Problem

The static method `fromApplicationListenerAttributes` was describe with `securityGroup` property optional on documentation but this will throw an error because `securityGroup` is required

### Solution

This PR makes the `securityGroup` property mandatory

Fixes aws#21930 
----

### All Submissions:

* [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)

### Adding new Unconventional Dependencies:

* [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)

### New Features

* [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?

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

(ApplicationListener): (Static method "from_application_listener_attributes" property "security_group" is not "Optional" as listed in docs)

3 participants