sg rule add

This commit is contained in:
2022-12-28 22:50:49 +09:00
parent 0b1946ecb3
commit 6fab570c69
6 changed files with 80 additions and 16 deletions

View File

@ -1,5 +1,6 @@
resource "aws_security_group" "sg" {
description = "Security groups"
name = var.sg_name
vpc_id = var.vpc_id
}

View File

@ -2,3 +2,8 @@ variable "sg_name" {
description = "security group name"
type = string
}
variable "vpc_id" {
description = "vpc_id"
type = string
}