Requirements

Name Version
terraform >= 0.12

Providers

Name Version
aws n/a

Inputs

Name Description Type Default Required
description A description for the security group string "Security group created by terraform" no
egress_rule_list List of security group egress rules
list(object({
cidr_blocks = list(string),
description = string,
from_port = number,
protocol = string,
to_port = number
}))
[
{
“cidr_blocks”: [
“0.0.0.0/0”
],
“description”: “Default egress rule”,
“from_port”: 0,
“protocol”: “all”,
“to_port”: 65535
}
]
no
identifier The name of the security group string n/a yes
ingress_rule_list List of security group ingress rules
list(object({
cidr_blocks = list(string),
description = string,
from_port = number,
protocol = string,
to_port = number
}))
[] no
tags Tags to be applied to the resource map {} no
vpc_id The id of the VPC where the security group is being deployed string n/a yes

Outputs

Name Description
output n/a