Skip to content

Commit

Permalink
Update networking regex
Browse files Browse the repository at this point in the history
  • Loading branch information
devsjc committed Nov 10, 2023
1 parent ffda7ae commit ece5d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/modules/networking/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ece5d97

Please sign in to comment.