From c4d474b7dc8c6c4cc3a3c2619dfe2612b86532e0 Mon Sep 17 00:00:00 2001 From: juchowan Date: Tue, 29 Oct 2024 16:05:34 +0100 Subject: [PATCH] update set_path asn validation --- modules/terraform-aci-set-rule/variables.tf | 8 -------- 1 file changed, 8 deletions(-) diff --git a/modules/terraform-aci-set-rule/variables.tf b/modules/terraform-aci-set-rule/variables.tf index 1db3ba91..3fc04d09 100644 --- a/modules/terraform-aci-set-rule/variables.tf +++ b/modules/terraform-aci-set-rule/variables.tf @@ -206,14 +206,6 @@ variable "set_as_paths" { ]])) error_message = "`order` minimum value: `0`. Maximum value: `31`." } - - validation { - condition = alltrue(flatten([ - for c in var.set_as_paths : [ - for a in c.asns : try(a.asn_number >= 0 && a.asn_number <= 65535, false) - ]])) - error_message = "`asn` minimum value: `0`. Maximum value: `65535`." - } } variable "next_hop_propagation" {