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 b1c0a47 commit 40b3bd0Copy full SHA for 40b3bd0
common/provision/main.tf
@@ -1,4 +1,9 @@
1
-variable "configuration" {}
+variable "configuration" {
2
+ validation {
3
+ condition = length(var.configuration.bastions) > 0
4
+ error_message = "Defined firewall rules do not allow Terraform to connect to the cluster through at least one instance."
5
+ }
6
+}
7
variable "hieradata" {}
8
variable "hieradata_dir" {}
9
variable "eyaml_key" {}
0 commit comments