Security Group Module
This module creates a security group and rules.
Requirements
Providers
Modules
No modules.
Resources
Name |
Description |
Type |
Default |
Required |
create |
Create the security group. |
bool |
true |
no |
description |
The description of the security group. |
string |
"" |
no |
egress_rules |
The egress rules for the security group. |
map(object({ type = string protocol = string from_port = number to_port = number description = optional(string) cidr_blocks = optional(list(string)) ipv6_cidr_blocks = optional(list(string)) prefix_list_ids = optional(list(string)) self = optional(bool) source_security_group_id = optional(string) })) |
{} |
no |
ingress_rules |
The ingress rules for the security group. |
map(object({ type = string protocol = string from_port = number to_port = number description = optional(string) cidr_blocks = optional(list(string)) ipv6_cidr_blocks = optional(list(string)) prefix_list_ids = optional(list(string)) self = optional(bool) source_security_group_id = optional(string) })) |
{} |
no |
name |
The name of the security group, this name must be unique within the VPC. |
string |
n/a |
yes |
tags |
A map of tags to add to all resources. |
map(string) |
{} |
no |
vpc_id |
The VPC id to create the security group in. |
string |
n/a |
yes |
Outputs
No outputs.