Skip to content

Add option to clear default security group rules #256

@sirket

Description

@sirket

The default security group is wide open to itself but this will show up during many security audits. As the default security group really shouldn't be used for anything- would it make sense to clear the rules either by default- or at least provide an option to do so?

e.g.

resource "aws_default_security_group" "default" {
count = "${var.create_vpc && var.disable_default_sg ? 1 : 0}"

vpc_id = "${aws_vpc.this.id}"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions