Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/infraspecdev/terraform-aws-security-group

This Terraform module creates AWS security groups with configurable ingress and egress rules.
https://github.com/infraspecdev/terraform-aws-security-group

Last synced: 3 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# terraform-aws-security-group

Terraform module to create security groups and rules

## Requirements

| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.8.4 |
| [aws](#requirement\_aws) | >= 5.51.0 |

## Providers

| Name | Version |
|------|---------|
| [aws](#provider\_aws) | 5.59.0 |

## Modules

No modules.

## Resources

| Name | Type |
|------|------|
| [aws_security_group.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group) | resource |
| [aws_vpc.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/vpc) | data source |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [description](#input\_description) | (Optional, Forces new resource) Security group description. | `string` | `"Managed by Terraform"` | no |
| [name](#input\_name) | (Optional, Forces new resource) Name of the security group. | `string` | n/a | yes |
| [tags](#input\_tags) | (Optional) Map of tags to assign to the resource. | `map(string)` | `{}` | no |
| [vpc\_id](#input\_vpc\_id) | (Optional, Forces new resource) VPC ID. | `string` | `null` | no |

## Outputs

| Name | Description |
|------|-------------|
| [security\_group\_arn](#output\_security\_group\_arn) | The ARN of the security group |
| [security\_group\_id](#output\_security\_group\_id) | The ID of the security group |