43 lines
1,017 B
HCL
43 lines
1,017 B
HCL
variable "region" {
|
|
description = "Region for the STACKIT Cloud"
|
|
type = string
|
|
default = "eu01"
|
|
}
|
|
|
|
variable "project_id" {
|
|
description = "STACKIT Cloud project ID"
|
|
type = string
|
|
}
|
|
|
|
variable "service_account_token" {
|
|
description = "Service account token for authentication"
|
|
sensitive = true
|
|
type = string
|
|
}
|
|
|
|
|
|
variable "security_groups" {
|
|
type = map(object({
|
|
name = optional(string)
|
|
description = optional(string)
|
|
rules = list(object({
|
|
direction = string
|
|
description = optional(string)
|
|
ether_type = optional(string)
|
|
icmp_parameters = optional(object({
|
|
type = optional(number)
|
|
code = optional(number)
|
|
}))
|
|
ip_range = optional(string)
|
|
port_range = optional(object({
|
|
min = number
|
|
max = number
|
|
}))
|
|
protocol = optional(object({
|
|
name = optional(string)
|
|
number = optional(number)
|
|
}))
|
|
remote_security_group_id = optional(string)
|
|
}))
|
|
}))
|
|
}
|