Skip to content

Commit 1ab22e4

Browse files
author
Mike Saintcross
committed
added some moreinput validation on variables
1 parent 62ab8f7 commit 1ab22e4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

variables.tf

-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ variable "aws_region" {
2626
type = string
2727
default = "us-east-1"
2828
description = "Enter the AWS Region you wish to deploy in."
29-
validation {
30-
condition = can(regex("(us(-gov)?|ap|ca|cn|eu|sa)-(central|(north|south)?(east|west)?)-\d", var.aws_region))
31-
error_message = "Enter a valid region."
32-
}
3329
}
3430

3531
variable "vpc_name" {

0 commit comments

Comments
 (0)