forked from IBM-Cloud/kube-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
119 lines (99 loc) · 3.66 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
variable "ibmcloud_api_key" {
description = "IBM Cloud API key"
type = string
}
variable "sm_instance_name" {
description = "IBM Cloud Secrets Manager instance name"
type = string
}
variable "sm_instance_plan" {
description = "IBM Cloud Secrets Manager instance plan."
type = string
default = "trial"
}
variable "sm_instance_region" {
description = "IBM Cloud Secrets Manager instance region"
type = string
}
variable "sm_secret_group_name" {
description = "The name of your existing secret group."
type = string
}
variable "sm_secret_group_description" {
description = "An extended description of your secret group.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group."
type = string
}
variable "cluster_name_or_id" {
description = "IBM Cloud Kubernetes Cluster id or name"
type = string
}
variable "sm_endpoint_type" {
description = "IBM Cloud Secrets Manager secret endpoint type. Type is 'public' or 'private'."
type = string
default = "public"
}
// Resource arguments for sm_arbitrary_secret
variable "sm_arbitrary_secret_name" {
description = "IBM Cloud Secrets Manager arbitrary secret name"
type = string
default = "my-arbitrary-secret"
}
variable "sm_arbitrary_secret_description" {
description = "An extended description of your secret.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group."
type = string
default = "Extended description for this secret."
}
variable "sm_arbitrary_secret_expiration_date" {
description = "The date a secret is expired. The date format follows RFC 3339."
type = string
default = "2022-04-12T23:20:50.520Z"
}
variable "sm_arbitrary_secret_labels" {
description = "Labels that you can use to search for secrets in your instance. Up to 30 labels can be created."
type = list(string)
default = ["dev", "stage"]
}
variable "sm_arbitrary_secret_payload" {
description = "The arbitrary secret's data payload."
type = string
default = "secret-credentials"
}
// Resource arguments for sm_username_password_secret
variable "sm_username_password_secret_name" {
description = "The human-readable name of your secret."
type = string
default = "my-username-password-secret"
}
variable "sm_username_password_secret_description" {
description = "An extended description of your secret.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group."
type = string
default = "Extended description for this secret."
}
variable "sm_username_password_secret_expiration_date" {
description = "The date a secret is expired. The date format follows RFC 3339."
type = string
default = "2022-04-12T23:20:50.520Z"
}
variable "sm_username_password_secret_labels" {
description = "Labels that you can use to search for secrets in your instance.Up to 30 labels can be created."
type = list(string)
default = ["dev", "stage"]
}
variable "sm_username_password_secret_username" {
description = "The username that is assigned to the secret."
type = string
default = "username"
}
variable "sm_username_password_secret_password" {
description = "The password that is assigned to the secret."
type = string
default = "password"
}
variable "opaque_secret_name" {
description = "The opaque secret name."
type = string
}
variable "opaque_secret_namespace" {
description = "The opaque secret namespace."
type = string
}