From 091761b6eac812d9d1cede3833c4dd18a3ca0af2 Mon Sep 17 00:00:00 2001 From: vaibhav Date: Wed, 18 Sep 2024 01:56:24 +0530 Subject: [PATCH] fix : tflint error for output.tf anf variable.tf --- variables.tf | 44 +++++++++++--------------------------------- 1 file changed, 11 insertions(+), 33 deletions(-) diff --git a/variables.tf b/variables.tf index f7b9e93..146cf34 100644 --- a/variables.tf +++ b/variables.tf @@ -130,48 +130,26 @@ variable "additional_public_ips" { } variable "application_rule_collection" { - description = "One or more application_rule_collection blocks." - type = list(object({ - name = string - rules = list(object({ - name = string - action = string - protocol = string - ports = list(string) - })) - })) - default = [] + description = "One or more application_rule_collection blocks as defined below." + type = list(object({ ... })) + default = [] } variable "network_rule_collection" { - description = "One or more network_rule_collection blocks." - type = list(object({ - name = string - rules = list(object({ - name = string - action = string - protocol = string - ports = list(string) - })) - })) - default = [] + description = "One or more network_rule_collection blocks as defined below." + type = list(object({ ... })) + default = [] } + variable "nat_rule_collection" { - description = "One or more nat_rule_collection blocks." - type = list(object({ - name = string - rules = list(object({ - name = string - action = string - protocol = string - ports = list(string) - })) - })) - default = [] + description = "One or more nat_rule_collection blocks as defined below." + type = list(object({ ... })) + default = [] } + variable "public_ip_names" { type = list(string) default = []