File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ variable "Region1" {
77 description = " Region for bucket 1"
88
99 validation {
10- condition = contains (data. aws_regions . current . names , var. PrimaryRegion )
10+ condition = contains (data. aws_regions . current . names , var. Region1 )
1111 error_message = " Region1 must be a valid AWS region. Available regions: ${ join (" , " , data. aws_regions . current . names )} "
1212 }
1313}
@@ -17,7 +17,7 @@ variable "Region2" {
1717 description = " Region for bucket 2"
1818
1919 validation {
20- condition = contains (data. aws_regions . current . names , var. PrimaryRegion )
20+ condition = contains (data. aws_regions . current . names , var. Region2 )
2121 error_message = " Region1 must be a valid AWS region. Available regions: ${ join (" , " , data. aws_regions . current . names )} "
2222 }
2323}
You can’t perform that action at this time.
0 commit comments