From f726c998b389b176263242cdd2575661dca14437 Mon Sep 17 00:00:00 2001 From: hendricjabs <31187702+hendricjabs@users.noreply.github.com> Date: Fri, 15 Aug 2025 14:11:23 +0200 Subject: [PATCH 1/3] docs: Correct variable description for security group rules (#449) --- README.md | 2 +- variables.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bb8d90a0..523f9dfc 100644 --- a/README.md +++ b/README.md @@ -259,7 +259,7 @@ No modules. | [secondary\_private\_ips](#input\_secondary\_private\_ips) | A list of secondary private IPv4 addresses to assign to the instance's primary network interface (eth0) in a VPC. Can only be assigned to the primary network interface (eth0) attached at instance creation, not a pre-existing network interface i.e. referenced in a `network_interface block` | `list(string)` | `null` | no | | [security\_group\_description](#input\_security\_group\_description) | Description of the security group | `string` | `null` | no | | [security\_group\_egress\_rules](#input\_security\_group\_egress\_rules) | Egress rules to add to the security group |
map(object({
cidr_ipv4 = optional(string)
cidr_ipv6 = optional(string)
description = optional(string)
from_port = optional(number)
ip_protocol = optional(string, "tcp")
prefix_list_id = optional(string)
referenced_security_group_id = optional(string)
tags = optional(map(string), {})
to_port = optional(number)
})) | {
"ipv4_default": {
"cidr_ipv4": "0.0.0.0/0",
"description": "Allow all IPv4 traffic",
"ip_protocol": "-1"
},
"ipv6_default": {
"cidr_ipv6": "::/0",
"description": "Allow all IPv6 traffic",
"ip_protocol": "-1"
}
} | no |
-| [security\_group\_ingress\_rules](#input\_security\_group\_ingress\_rules) | Egress rules to add to the security group | map(object({
cidr_ipv4 = optional(string)
cidr_ipv6 = optional(string)
description = optional(string)
from_port = optional(number)
ip_protocol = optional(string, "tcp")
prefix_list_id = optional(string)
referenced_security_group_id = optional(string)
tags = optional(map(string), {})
to_port = optional(number)
})) | `null` | no |
+| [security\_group\_ingress\_rules](#input\_security\_group\_ingress\_rules) | Ingress rules to add to the security group | map(object({
cidr_ipv4 = optional(string)
cidr_ipv6 = optional(string)
description = optional(string)
from_port = optional(number)
ip_protocol = optional(string, "tcp")
prefix_list_id = optional(string)
referenced_security_group_id = optional(string)
tags = optional(map(string), {})
to_port = optional(number)
})) | `null` | no |
| [security\_group\_name](#input\_security\_group\_name) | Name to use on security group created | `string` | `null` | no |
| [security\_group\_tags](#input\_security\_group\_tags) | A map of additional tags to add to the security group created | `map(string)` | `{}` | no |
| [security\_group\_use\_name\_prefix](#input\_security\_group\_use\_name\_prefix) | Determines whether the security group name (`security_group_name` or `name`) is used as a prefix | `bool` | `true` | no |
diff --git a/variables.tf b/variables.tf
index a95ae995..8df6532c 100644
--- a/variables.tf
+++ b/variables.tf
@@ -563,7 +563,7 @@ variable "security_group_egress_rules" {
}
variable "security_group_ingress_rules" {
- description = "Egress rules to add to the security group"
+ description = "Ingress rules to add to the security group"
type = map(object({
cidr_ipv4 = optional(string)
cidr_ipv6 = optional(string)
From 45a43803c408968f9f9d11b2ea63d96f6931a1e2 Mon Sep 17 00:00:00 2001
From: Artem Hatchenko <102317797+artem-hatchenko@users.noreply.github.com>
Date: Fri, 22 Aug 2025 19:09:35 +0300
Subject: [PATCH 2/3] feat: Output security group ARN and ID (#450)
Co-authored-by: Bryant Biggs