sg rule add
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
resource "aws_security_group" "sg" {
|
||||
description = "Security groups"
|
||||
name = var.sg_name
|
||||
vpc_id = var.vpc_id
|
||||
|
||||
}
|
||||
|
@ -2,3 +2,8 @@ variable "sg_name" {
|
||||
description = "security group name"
|
||||
type = string
|
||||
}
|
||||
variable "vpc_id" {
|
||||
description = "vpc_id"
|
||||
type = string
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user