feat: change security group tags, not name
This commit is contained in:
@@ -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" {
|
||||||
|
|||||||
Reference in New Issue
Block a user