diff --git a/terraform/modules/networking/main.tf b/terraform/modules/networking/main.tf index baaf5b48..0f7d6589 100644 --- a/terraform/modules/networking/main.tf +++ b/terraform/modules/networking/main.tf @@ -2,7 +2,7 @@ locals { prefix = "${var.domain}-${var.environment}" // Access the A.B part of the CIDR - ab = regex("^(\\d+.\\d+).", var.vpc_cidr) + ab = regex("^(\\d+.\\d+).", var.vpc_cidr)[0] } // VPC