generated from terraform-ibm-modules/terraform-ibm-module-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
67 lines (57 loc) · 2 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
variable "region" {
type = string
description = "The IBM Cloud region where instances will be created."
default = "us-south"
}
variable "resource_group_id" {
type = string
description = "The id of the IBM Cloud resource group where the instance(s) will be created."
}
variable "instance_name" {
type = string
description = "The name of the IBM Cloud Monitoring instance to create. Defaults to 'cloud-monitoring-<region>'"
default = null
}
variable "plan" {
type = string
description = "The IBM Cloud Monitoring plan to provision. Available: lite, graduated-tier"
default = "lite"
validation {
condition = can(regex("^lite$|^graduated-tier$", var.plan))
error_message = "The plan value must be one of the following: lite, graduated-tier."
}
}
variable "manager_key_name" {
type = string
description = "The name to give the IBM Cloud Monitoring manager key."
default = "SysdigManagerKey"
}
variable "manager_key_tags" {
type = list(string)
description = "Tags associated with the IBM Cloud Monitoring manager key."
default = []
}
variable "tags" {
type = list(string)
description = "Tags associated with the IBM Cloud Monitoring instance (Optional, array of strings)."
default = []
}
variable "access_tags" {
type = list(string)
description = "Access Management Tags associated with the IBM Cloud Monitoring instance (Optional, array of strings)."
default = []
}
variable "enable_platform_metrics" {
type = bool
description = "Receive platform metrics in the provisioned IBM Cloud Monitoring instance."
default = true
}
variable "service_endpoints" {
description = "The type of the service endpoint that will be set for the Sisdig instance."
type = string
default = "public-and-private"
validation {
condition = contains(["public-and-private"], var.service_endpoints)
error_message = "The specified service_endpoints is not a valid selection"
}
}