security-group

devops-made-easy/security-group/aws

Terraform Module HCL AWS ⏱ stale 3y 10mo

A Terraform module to create AWS Security Groups

Install

module "security-group" {
source = "devops-made-easy/security-group/aws"
version = "0.0.3"
}
⭐ Source on GitHub 📦 Registry page

README

terraform-aws-security-group Sample way of calling this module `` module "sg" { source = "[email protected]:devops-made-easy/terraform-aws-security-group.git" version = "0.0.1" name = "DEVOPS-MADES-EASY-SG" description = "DEVOPS-MADES-EASY description" vpc_id = "vpc-xxxx" ingress_rules = [{"description": "description for ingress", "from_port": 443, "to_port": 443, "protocol": "HTTPS", "cidr_block": ["0.0.0.0/0"]}] egress_rules = [{"description": "description for engress", "from_port": 443, "to_port": 443, "protocol": "HTTPS", "cidr_block": ["0.0.0.0/0"]}] } `` Share the Love Like this project? Please give it a ★ on our GitHub!(it helps us a lot)

Inputs (5)

NameTypeDescriptionDefault
vpc_idstringYour VPC ID required
namestringYour Security Group Name. required
descriptionstringDescription for your Security Group required
ingress_ruleslist(object({ description List of objects like: {"description": "", "from_port": x, "to_port": x, "protoco required
egress_ruleslist(object({ description List of objects like: {"description": "", "from_port": x, "to_port": x, "protoco required

Outputs (4)

ingress_rules — All your ingress rules.
egress_rules — All your egress rules.
security_group_id — Security Group ID
security_group_arn — ARN of the security group.

Resources (1)

aws_security_group

Details

FrameworkTerraform Module
LanguageHCL
Version0.0.3
Cloud AWS
★ Stars8
Forks5
Total downloads6.4k
Inputs5
Outputs4
Resources1
LicenseMIT
Namespacedevops-made-easy
Updated