Files
assignment01/modules/sg-rule-add/variables.tf
2025-11-18 03:20:27 +00:00

34 lines
566 B
HCL

variable "type" {
description = "security rule type"
type = string
}
# variable "from_port" {
# description = "from port"
# type = number
# }
# variable "to_port" {
# description = "to_port"
# type = number
# }
# variable "protocol" {
# description = "protocol"
# type = string
# }
# variable "cidr_blocks" {
# description = "cidr_blocks"
# type = list(string)
# }
variable "rules" {
description = "sg rules"
type = map(map(string))
}
variable "security_group_id" {
}
variable "tag_name" {
description = "tag_name"
type = string
}