Skip to contents

Get a security group by ID

Usage

aws_vpc_security_group(id, ...)

Arguments

id

(character) The id of the security group. required

...

named parameters passed on to describe_security_groups

Value

(list) with fields:

  • SecurityGroups (list) each security group

    • Description

    • GroupName

    • IpPermissions

    • OwnerId

    • GroupId

    • IpPermissionsEgress

    • Tags

    • VpcId

  • NextToken (character) token for paginating