Skip to content

Latest commit

 

History

History
45 lines (41 loc) · 4.7 KB

File metadata and controls

45 lines (41 loc) · 4.7 KB

Inputs

Name Description Type Default Required
enable Flag to control module creation. bool true no
entry Can be specified multiple times for each prefix list entry. list(any) [] no
environment Environment (e.g. prod, dev, staging). string "" no
existing_sg_egress_rules_with_cidr_blocks Ingress rules with only cidr block. Should be used when there is existing security group. any {} no
existing_sg_egress_rules_with_prefix_list Egress rules with only prefic ist ids. Should be used when there is existing security group. any {} no
existing_sg_egress_rules_with_self Egress rules with only self. Should be used when there is existing security group. any {} no
existing_sg_egress_rules_with_source_sg_id Egress rules with only source security group id. Should be used when there is existing security group. any {} no
existing_sg_id Provide existing security group id for updating existing rule string null no
existing_sg_ingress_rules_with_cidr_blocks Ingress rules with only cidr blocks. Should be used when there is existing security group. any {} no
existing_sg_ingress_rules_with_prefix_list Ingress rules with only prefix_list. Should be used when new security group is been deployed. any {} no
existing_sg_ingress_rules_with_self Ingress rules with only source security group id. Should be used when new security group is been deployed. any {} no
existing_sg_ingress_rules_with_source_sg_id Ingress rules with only prefix list ids. Should be used when there is existing security group. any {} no
label_order Label order, e.g. name,application. list(any)
[
"name",
"environment"
]
no
managedby ManagedBy, eg 'CloudDrove'. string "[email protected]" no
max_entries The maximum number of entries that this prefix list can contain. number 5 no
name Name (e.g. app or cluster). string "" no
new_sg Flag to control creation of new security group. bool true no
new_sg_egress_rules_with_cidr_blocks Egress rules with only cidr_blockd. Should be used when new security group is been deployed. any {} no
new_sg_egress_rules_with_prefix_list Egress rules with only prefix list ids. Should be used when new security group is been deployed. any {} no
new_sg_egress_rules_with_self Egress rules with only self. Should be used when new security group is been deployed. any {} no
new_sg_egress_rules_with_source_sg_id Egress rules with only source security group id. Should be used when new security group is been deployed. any {} no
new_sg_ingress_rules_with_cidr_blocks Ingress rules with only cidr blocks. Should be used when new security group is been deployed. any {} no
new_sg_ingress_rules_with_prefix_list Ingress rules with only prefix list ids. Should be used when new security group is been deployed. any {} no
new_sg_ingress_rules_with_self Ingress rules with only self. Should be used when new security group is been deployed. any {} no
new_sg_ingress_rules_with_source_sg_id Ingress rules with only source security group id. Should be used when new security group is been deployed. any {} no
prefix_list_address_family (Required, Forces new resource) The address family (IPv4 or IPv6) of prefix list. string "IPv4" no
prefix_list_enabled Enable prefix_list. bool false no
prefix_list_ids The ID of the prefix list. list(string) [] no
repository Terraform current module repo string "https://github.com/clouddrove/terraform-aws-security-group" no
sg_description Security group description. Defaults to Managed by Terraform. Cannot be empty string. NOTE: This field maps to the AWS GroupDescription attribute, for which there is no Update API. If you'd like to classify your security groups in a way that can be updated, use tags. string null no
vpc_id The ID of the VPC that the instance security group belongs to. string "" no

Outputs

Name Description
prefix_list_id The ID of the prefix list.
security_group_arn IDs on the AWS Security Groups associated with the instance.
security_group_id IDs on the AWS Security Groups associated with the instance.
security_group_tags A mapping of public tags to assign to the resource.