We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a54e0b commit 89fa3e1Copy full SHA for 89fa3e1
variables.tf
@@ -35,7 +35,7 @@ variable "cluster_arn" {
35
default = null
36
37
validation {
38
- condition = var.create_cluster == true || startswith(var.cluster_arn != null ? var.cluster_arn : "", "arn:")
+ condition = var.cluster_arn == null || startswith(var.cluster_arn != null ? var.cluster_arn : "", "arn:")
39
error_message = "Specified Cluster ARN must be a valid ARN starting with \"arn:\"."
40
}
41
0 commit comments