We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 599ca2c commit deb6865Copy full SHA for deb6865
variables.tf
@@ -9,9 +9,15 @@ variable "resource_group_name" {
9
}
10
11
variable "license_key" {
12
- description = "Your Corelight sensor license key"
13
- type = string
+ description = "Your Corelight sensor license key. Optional if fleet_url is configured."
14
sensitive = true
+ type = string
15
+ default = ""
16
+
17
+ validation {
18
+ condition = var.license_key != "" || var.fleet_url != ""
19
+ error_message = "Either license_key must be provided or fleet_url must be configured."
20
+ }
21
22
23
variable "management_subnet_id" {
0 commit comments