Required

name Required
string

Name of the security group

vpc_id Required
string

VPC ID where the security group will be created

Optional

list(object({ from_port = number to_port = number protocol = string cidr_blocks = optional(list(string), []) description = optional(string, "") }))

List of ingress rules

list(object({ from_port = number to_port = number protocol = string cidr_blocks = optional(list(string), []) description = optional(string, "") })) Default: [ { from_port = 0 to_port = 0 protocol = "-1" cidr_blocks = ["0.0.0.0/0"]

List of egress rules

map(string)

Tags to apply to all resources

bool Default: true

Publish security group metadata to SSM Parameter Store for discovery by other modules