feat: switch to yaml config file for settings

This commit is contained in:
David FILLON committed 2024-05-03 18:30:20 +02:00
1 parent 68205e8f20
commit d250c09b91
6 files changed
+34 -18

No files matched your search

+15 -4
View File
@@ -1,7 +1,18 @@
# variables.tf
variable "network_acl_disabled" {
description = "If disabled, default Network ACLs allow all inbound and outbound protocols."
type = bool
default = true
variable "config_file" {
description = "Network configuration file."
type = string
default = null
}
variable "config_template" {
description = "value"
type = string
default = "default"
validation {
condition = contains(["default", "eks"], var.config_template)
error_message = "config_template must be one of 'default' 'eks'"
}
}