-
Notifications
You must be signed in to change notification settings - Fork 10
/
variables.tf
81 lines (68 loc) · 2.4 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
variable "resource_group_name" {
type = string
description = "The resource group name to deploy cloud vision stack"
}
variable "deploy_diagnostic_setting" {
type = bool
description = "whether the diagnostic settings are to be deployed"
default = true
}
variable "deploy_ad_diagnostic_setting" {
type = bool
description = "whether the diagnostic setting is to be deployed"
default = true
}
variable "subscription_ids" {
type = list(string)
description = "Subscription IDs where apply the infrastructure"
}
variable "sku" {
type = string
default = "Standard"
description = "Pricing tier plan [Basic, Standard, Premium]"
}
variable "location" {
type = string
default = "centralus"
description = "Zone where the stack will be deployed"
}
variable "namespace_capacity" {
type = number
default = 1
description = "Processing units or throughput units are pre-purchased units of capacity"
}
variable "eventhub_partition_count" {
type = number
default = 1
description = "The partition count setting allows you to parallelize consumption across many consumers"
}
variable "eventhub_retention_days" {
type = number
default = 1
description = "The message retention setting specifies how long the Event Hubs service keeps data"
}
variable "name" {
type = string
description = "Name to be assigned to all child resources. A suffix may be added internally when required. Use default value unless you need to install multiple instances"
validation {
condition = can(regex("^[a-zA-Z0-9\\-]+$", var.name)) && length(var.name) > 1 && length(var.name) <= 64
error_message = "Must enter a naming prefix up to 64 alphanumeric characters."
}
}
variable "logs" {
description = "List of log categories."
type = list(string)
default = ["Administrative", "Security", "ServiceHealth", "Alert", "Recommendation", "Policy", "Autoscale", "ResourceHealth"]
}
variable "tags" {
type = map(string)
description = "Tags to be added to the resources"
default = {
Team = "Sysdig"
}
}
variable "active_directory_logs" {
description = "List of active director log categories."
type = list(string)
default = ["SignInLogs", "AuditLogs", "NonInteractiveUserSignInLogs", "ServicePrincipalSignInLogs", "ManagedIdentitySignInLogs", "ProvisioningLogs", "ADFSSignInLogs"]
}