Skip to content

This Terraform module creates AWS security groups with configurable ingress and egress rules.

Notifications You must be signed in to change notification settings

infraspecdev/terraform-aws-security-group

Repository files navigation

terraform-aws-security-group

Terraform module to create security groups and rules

Requirements

Name Version
terraform >= 1.8.4
aws >= 5.51.0

Providers

Name Version
aws 5.59.0

Modules

No modules.

Resources

Name Type
aws_security_group.this resource
aws_vpc.default data source

Inputs

Name Description Type Default Required
description (Optional, Forces new resource) Security group description. string "Managed by Terraform" no
name (Optional, Forces new resource) Name of the security group. string n/a yes
tags (Optional) Map of tags to assign to the resource. map(string) {} no
vpc_id (Optional, Forces new resource) VPC ID. string null no

Outputs

Name Description
security_group_arn The ARN of the security group
security_group_id The ID of the security group

About

This Terraform module creates AWS security groups with configurable ingress and egress rules.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages