feat: change security group tags, not name

This commit is contained in:
2025-02-18 15:18:20 -05:00
parent 53ad9c161c
commit 225489f678

View File

@@ -29,7 +29,7 @@ module "vpc" {
# Only allow HTTP(s) and SSH traffic. Allow full access to internet. # Only allow HTTP(s) and SSH traffic. Allow full access to internet.
resource "aws_security_group" "public_access" { resource "aws_security_group" "public_access" {
vpc_id = module.vpc.vpc_id vpc_id = module.vpc.vpc_id
name = "Public Access" tags = { GroupOf = "Main", GroupType = "Public" }
} }
resource "aws_vpc_security_group_ingress_rule" "ingress" { resource "aws_vpc_security_group_ingress_rule" "ingress" {