security-group-v2

aidanmelen/security-group-v2/aws

Terraform Module HCL AWS

Terraform module which creates EC2 security group within VPC on AWS.

Install
module "security-group-v2" {
source = "aidanmelen/security-group-v2/aws"
version = "2.1.2"
}
plain text: /constructs/tfmod-aidanmelen-security-group-v2-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

![Pre-Commit](https://github.com/aidanmelen/terraform-aws-security-group-v2/actions/workflows/pre-commit.yaml) ![Terratest](https://github.com/aidanmelen/terraform-aws-security-group-v2#tests) ![Tfsec](https://github.com/aidanmelen/terraform-aws-security-group-v2/actions/workflows/pre-commit.yaml) terraform-aws-security-v2 Terraform module which creates EC2 security group within VPC on AWS. Features This module aims to implement ALL combinations of aws_security_group and aws_security_group_rule arguments supported by AWS and latest stable version of Terraform. What's more, this module was designed after the terraform-aws-modules/terraform-aws-security-group module and aims to have feature parody. Please see the Acknowledgments section for more information. Rule Aliases Manage Rules: Click

Inputs (23)
NameTypeDescriptionDefault
egressanyThe security group egress rules. Can be either customer, managed, or common rule[]
security_group_idstringID of existing security group whose rules we will manage.null
descriptionstring(Optional, Forces new resource) Security group description. Defaults to Managed null
name_prefixstring(Optional, Forces new resource) Creates a unique name beginning with the specifinull
revoke_rules_on_deletestring(Optional) Instruct Terraform to revoke all of the Security Groups attached ingrnull
create_timeoutstringTime to wait for a security group to be created."10m"
delete_timeoutstringTime to wait for a security group to be deleted."15m"
ingressanyThe security group ingress rules. Can be either customer, managed, or common rul[]
matrix_egressanyA map of module rule(s) and destinations(s) representing the multi-dimensional m{}
computed_ingressanyThe security group ingress rules that contain unknown values (e.g. `aws_vpc.vpc.[]
computed_egressanyThe security group egress rules that contain unknown values (e.g. `aws_vpc.vpc.c[]
computed_matrix_egressanyA map of module rule(s) and destinations(s) representing the multi-dimensional m{}
name_prefix_separatorstring(Optional, Only used with name_prefix) The separator between the name_prefix and"-"
default_rule_descriptionstringThe default security group rule description."managed by Terraform"
debugboolWhether to output debug information on local for_each loops.false
create_security_groupboolWhether to create security group and all rules.true
namestring(Optional, Forces new resource) Name of the security group. If omitted, Terrafornull
vpc_idstring(Optional, Forces new resource) VPC ID.null
matrix_ingressanyA map of module rule(s) and source(s) representing the multi-dimensional matrix {}
unpackboolWhether to unpack security group rule arguments. Unpacking will prevent unwantedfalse
Outputs (5)
security_group — The security group attributes.
security_group_ingress_rules — The security group ingress rules.
security_group_egress_rules — The security group egress rules.
rule_aliases — The module rule aliases.
debug — Debug information on local for_each loops.
Resources (2)
aws_security_groupaws_security_group_rule
Details
FrameworkTerraform Module
LanguageHCL
Version2.1.2
Cloud AWS
★ Stars2
Forks0
Total downloads45.3k
Inputs23
Outputs5
Resources2
Examples11
Submodules2
Namespaceaidanmelen
Updated