Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 2.02 KB

README.md

File metadata and controls

38 lines (27 loc) · 2.02 KB

Requirements

No requirements.

Providers

Name Version
aws n/a

Modules

No modules.

Resources

Name Type
aws_security_group.sg resource
aws_vpc_security_group_egress_rule.egress_rule resource
aws_vpc_security_group_ingress_rule.ingress_rule resource

Inputs

Name Description Type Default Required
egress_rules List of egress rules
map(object({
from_port = number
to_port = number
ip_protocol = string
cidr_ipv4 = string
}))
n/a yes
env Environment string "stg" no
ingress_rules List of ingress rules
map(object({
from_port = number
to_port = number
ip_protocol = string
cidr_ipv4 = string
referenced_security_group_id = string
}))
n/a yes
sg_description The description of the security group string n/a yes
sg_name The name of the security group string n/a yes
vpc_id The VPC ID where the security group will be created string n/a yes

Outputs

Name Description
id The ID of the security group