security-group
cloudposse/security-group/aws
Terraform module to provision an AWS Security Group
Install
README
terraform-aws-security-group   [![README Header][readme_header_img]][readme_header_link] [![Cloud Posse][logo]](https://cpco.io/homepage) Terraform module to create AWS Security Group and rules. --- This project is part of our comprehensive "SweetOps" approach towards DevOps. [ ][share_email] [ ][share_googleplus] [ ][share_facebook] [ ][share_reddit] [ ][share_linkedin] [ ][share_twitter] ![Terraform Open Source Modules][terraform_modules] It's 100% Open Source and licensed under the APACHE2. We literally have [hundreds of terraform modules][terraform_modules] that are Open Source and well-maintained. Check them out! Security & Compliance Security scanning is gracio
Inputs (32)
| Name | Type | Description | Default |
|---|---|---|---|
| vpc_id | string | The ID of the VPC where the Security Group will be created. | required |
| stage | string | ID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'bu | null |
| id_length_limit | number | Limit `id` to this many characters (minimum 6). Set to `0` for unlimited length. | null |
| rules | list(any) | A list of Security Group rule objects. All elements of a list must be exactly th | [] |
| namespace | string | ID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp' | null |
| label_key_case | string | Controls the letter case of the `tags` keys (label names) for tags generated by | null |
| security_group_description | string | The description to assign to the created Security Group. Warning: Changing the d | "Managed by Terraform" |
| tenant | string | ID element _(Rarely used, not included by default)_. A customer identifier, indi | null |
| inline_rules_enabled | bool | NOT RECOMMENDED. Create rules "inline" instead of as separate `aws_security_grou | false |
| environment | string | ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'st | null |
| attributes | list(string) | ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`, | [] |
| regex_replace_chars | string | Terraform regular expression (regex) string. Characters matching the regex will | null |
| rules_map | any | A map-like object of lists of Security Group rule objects. All elements of a lis | {} |
| rule_matrix | any | A convenient way to apply the same set of rules to a set of subjects. See README | [] |
| security_group_create_timeout | string | How long to wait for the security group to be created. | "10m" |
| additional_tag_map | map(string) | Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not add | {} |
| label_order | list(string) | The order in which the labels (ID elements) appear in the `id`. Defaults to ["na | null |
| target_security_group_id | list(string) | The ID of an existing Security Group to which Security Group rules will be assig | [] |
| security_group_name | list(string) | The name to assign to the security group. Must be unique within the VPC. If not | [] |
| allow_all_egress | bool | A convenience that adds to the rules specified elsewhere a rule that allows all | true |
| revoke_rules_on_delete | bool | Instruct Terraform to revoke all of the Security Group's attached ingress and eg | false |
Outputs (4)
id — The created or target Security Group IDarn — The created Security Group ARN (null if using existing security group)name — The created Security Group Name (null if using existing security group)rules_terraform_ids — List of Terraform IDs of created `security_group_rule` resources, primarily provided to enable `depeResources (4)
Topics & Tags
Details
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,