20 lines
606 B
Terraform
20 lines
606 B
Terraform
variable "name" {
|
|
description = "Name of SG"
|
|
type = string
|
|
}
|
|
variable "description" {
|
|
description = "Description of SG"
|
|
type = string
|
|
}
|
|
variable "vpc-id" {
|
|
description = "ID of VPC"
|
|
type = string
|
|
}
|
|
variable "ingress" {
|
|
description = "Map of string where each string is a comma-separated Ingress SG rule. For example r1 = \"-1,-1,-1,0.0.0.0/0,Allow All\""
|
|
type = map(string)
|
|
}
|
|
variable "egress" {
|
|
description = "Map of string where each string is a comma-separated Egress SG rule. For example r1 = \"-1,-1,-1,0.0.0.0/0,Allow All\""
|
|
type = map(string)
|
|
} |