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 06f3820 commit e33a42bCopy full SHA for e33a42b
variables.tf
@@ -35,9 +35,15 @@ variable "community_string" {
35
}
36
37
variable "license_key" {
38
- description = "Your Corelight sensor license key"
+ description = "Your Corelight sensor license key. Optional if fleet_url is configured."
39
sensitive = true
40
type = string
41
+ default = ""
42
+
43
+ validation {
44
+ condition = var.license_key != "" || var.fleet_url != ""
45
+ error_message = "Either license_key must be provided or fleet_url must be configured."
46
+ }
47
48
49
variable "asg_lambda_iam_role_arn" {
@@ -210,3 +216,4 @@ variable "fleet_no_proxy" {
210
216
default = ""
211
217
description = "(optional) hosts or domains to bypass the proxy for fleet traffic"
212
218
219
0 commit comments