generated from terraform-ibm-modules/terraform-ibm-module-template
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathvariables.tf
86 lines (73 loc) · 2.42 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
82
83
84
85
86
##############################################################################
# Input Variables
##############################################################################
variable "ibmcloud_api_key" {
type = string
description = "IBM Cloud API KEY to fetch/post cloud resources in terraform. Not used in the pipeline, where a secret reference is used instead."
sensitive = true
}
variable "toolchain_resource_group" {
type = string
description = "The resource group within which the toolchain will be created."
default = "Default"
}
variable "toolchain_region" {
type = string
description = "IBM Cloud region where your toolchain will be created"
default = "us-south"
}
variable "registry_namespace" {
type = string
description = "Unique namespace within the IBM Cloud Container Registry where application image need to be stored."
default = "my-registry-namespace"
}
variable "cluster_name" {
type = string
description = "Name of the Kubernetes cluster where the application is deployed."
default = "mycluster-free"
}
variable "enable_key_protect" {
type = bool
description = "Set to enable Key Protect Integrations. "
default = false
}
variable "enable_secrets_manager" {
description = "Enable the Secrets Manager integrations."
type = bool
default = false
}
variable "kp_resource_group" {
type = string
description = "The resource group containing the Key Protect instance for your secrets."
default = "Default"
}
variable "kp_name" {
type = string
description = "Name of the Key Protect instance where the secrets are stored."
default = "prodkeys"
}
variable "kp_location" {
type = string
description = "IBM Cloud location/region containing the Key Protect instance."
default = "us-south"
}
variable "sm_location" {
type = string
description = "The region location of the Secrets Manager instance."
default = "us-south"
}
variable "sm_name" {
type = string
description = "The name of the Secret Managers instance."
default = "sm-instance"
}
variable "sm_resource_group" {
type = string
description = "The resource group containing the Secrets Manager instance."
default = "Default"
}
variable "sm_secret_group" {
type = string
description = "Group in Secrets Manager for organizing/grouping secrets."
default = "Default"
}