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 2a42c54 commit b6d5614Copy full SHA for b6d5614
variables.tf
@@ -113,9 +113,15 @@ variable "health_check_http_port" {
113
}
114
115
variable "license_key" {
116
- description = "Your Corelight sensor license key"
117
- type = string
+ description = "Your Corelight sensor license key. Optional if fleet_url is configured."
118
sensitive = true
+ type = string
119
+ default = ""
120
+
121
+ validation {
122
+ condition = var.license_key != "" || var.fleet_url != ""
123
+ error_message = "Either license_key must be provided or fleet_url must be configured."
124
+ }
125
126
127
variable "community_string" {
0 commit comments