Skip to content

feature request: Add EC2 support for GetSecurityGroupsForVpc API operationΒ #12602

Closed
@gregfurman

Description

@gregfurman

Is there an existing issue for this?

  • I have searched the existing issues

Feature description

LocalStack does not currently support the EC2 API's GetSecurityGroupsForVpc operation.

πŸ§‘β€πŸ’» Implementation

This operation is effectively just syntatic sugar for a DescribeSecurityGroups operation filtering for vpc-id.

i.e

response = aws_client.ec2.describe_security_groups(
    Filters=[
        {
            'Name': 'vpc-id',
            'Values': [
                'vpc-abcd1234',
            ]
        },
    ]
)

Anything else?

No response

Metadata

Metadata

Assignees

Labels

aws:ec2Amazon Elastic Compute Cloudgood first issueGood item to work on for newcomersstatus: resolved/fixedResolved with a fix or an implementationtype: featureNew feature, or improvement to an existing feature

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions