security-group

clouddrove/security-group/aws

Terraform Module HCL AWS

This terraform module creates set of Security Group and Security Group Rules resources in various combinations.

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

Terraform AWS Security Group This terraform module creates set of Security Group and Security Group Rules resources in various combinations. We eat, drink, sleep and most importantly love DevOps. We are working towards strategies for standardizing architecture while ensuring security for the infrastructure. We are strong believer of the philosophy Bigger problems are always solved by breaking them into smaller manageable problems . Resonating with microservices architecture, it is considered best-practice to run database, cluster, storage in smaller connected yet manageable pieces within the infrastructure. This module is basically combination of Terraform open source and includes automatation tests and examples. It also helps to create and improve your infrastructure with minimalistic cod

Inputs (31)
NameTypeDescriptionDefault
prefix_list_address_familystring(Required, Forces new resource) The address family (IPv4 or IPv6) of prefix list"IPv4"
managedbystringManagedBy, eg 'CloudDrove'."[email protected]"
new_sg_ingress_rules_with_selfanyIngress rules with only self. Should be used when new security group is been dep{}
new_sg_ingress_rules_with_source_sg_idanyIngress rules with only source security group id. Should be used when new securi{}
new_sg_egress_rules_with_cidr_blocksanyEgress rules with only cidr_blockd. Should be used when new security group is be{}
environmentstringEnvironment (e.g. `prod`, `dev`, `staging`).""
label_orderlist(any)Label order, e.g. `name`,`application`.[ "name", "environment" ]
existing_sg_egress_rules_with_selfanyEgress rules with only self. Should be used when there is existing security grou{}
enableboolFlag to control module creation.true
existing_sg_egress_rules_with_prefix_listanyEgress rules with only prefic ist ids. Should be used when there is existing sec{}
namestringName (e.g. `app` or `cluster`).""
max_entriesnumberThe maximum number of entries that this prefix list can contain.5
existing_sg_ingress_rules_with_cidr_blocksanyIngress rules with only cidr blocks. Should be used when there is existing secur{}
existing_sg_ingress_rules_with_selfanyIngress rules with only source security group id. Should be used when new securi{}
repositorystringTerraform current module repo"https://github.com/clouddrove/terraform
prefix_list_idslist(string)The ID of the prefix list.[]
prefix_list_enabledboolEnable prefix_list.false
entrylist(any)Can be specified multiple times for each prefix list entry.[]
existing_sg_idstringProvide existing security group id for updating existing rulenull
new_sg_egress_rules_with_selfanyEgress rules with only self. Should be used when new security group is been depl{}
Outputs (4)
prefix_list_id — The ID of the prefix list.
security_group_id — IDs on the AWS Security Groups associated with the instance.
security_group_arn — IDs on the AWS Security Groups associated with the instance.
security_group_tags — A mapping of public tags to assign to the resource.
Resources (3)
aws_ec2_managed_prefix_listaws_security_groupaws_security_group_rule
Details
FrameworkTerraform Module
LanguageHCL
Version2.0.0
Cloud AWS
★ Stars22
Forks15
Total downloads45.5k
Inputs31
Outputs4
Resources3
LicenseApache-2.0
Namespaceclouddrove
Updated