You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description="The name of a new or an existing resource group in which to provision the IBM Code Engine resources in."
25
+
description="The name of a new or an existing resource group to provision the IBM Cloud Code Engine resources to."
26
26
}
27
27
28
28
variable"project_name" {
29
-
description="The name of the project to which code engine resources will be added. It is required if var.existing_project_id is null."
29
+
description="The name of the project to add the IBM Cloud Code Engine resources to. If the value of `var.existing_project_id` is `null`, the project name is required."
30
30
type=string
31
31
default=null
32
32
}
33
33
34
34
variable"existing_project_id" {
35
-
description="The ID of the existing project to which code engine resources will be added. It is required if var.project_name is null."
35
+
description="The ID of the existing project to add the IBM Cloud Code Engine resources to. If the value of `var.project_name` is `null`, the project ID is required."
36
36
type=string
37
37
default=null
38
38
}
@@ -48,13 +48,13 @@ variable "image_reference" {
48
48
}
49
49
50
50
variable"image_secret" {
51
-
description="The name of the image registry access secret."
51
+
description="The name of the access secret that is used for the image registry."
52
52
type=string
53
53
default=null
54
54
}
55
55
56
56
variable"run_env_variables" {
57
-
description="References to config maps, secrets or a literal values that are exposed as environment variables within the running application."
57
+
description="References to configmaps, secrets, or literal values that are displayed as environment variables within the running application."
58
58
type=list(object({
59
59
type =optional(string)
60
60
name =optional(string)
@@ -67,7 +67,7 @@ variable "run_env_variables" {
67
67
}
68
68
69
69
variable"run_volume_mounts" {
70
-
description="Optional mounts of config maps or a secrets."
70
+
description="Optional. Mount targets for configmaps or secrets."
description="The port which is used to connect to the port that is exposed by the container image."
81
+
description="The port number that is used to connect to the port displayed by the container image."
82
82
type=number
83
83
default=8080
84
84
}
85
85
86
86
variable"managed_domain_mappings" {
87
-
description="Define which of the system managed domain mappings will be setup for the application. Valid values are 'local_public', 'local_private' and 'local'."
87
+
description="Specify which of the following values for the system-managed domain mappings to set up for the application: `local_public`, `local_private`, and `local`."
88
88
type=string
89
89
default=null
90
90
}
91
91
92
92
variable"run_arguments" {
93
-
description="Arguments for the app that are passed to start the container."
93
+
description="The arguments for the app that are passed to start the container."
94
94
type=list(string)
95
95
default=[]
96
96
}
@@ -102,7 +102,7 @@ variable "run_as_user" {
102
102
}
103
103
104
104
variable"run_commands" {
105
-
description="Commands for the app that are passed to start the container."
105
+
description="The commands for the app that are passed to start the container."
description="The minimum number of instances for this app. If you set this value to 0, the app will scale down to zero, if not hit by any request for some time."
159
+
description="The minimum number of instances for the app. If you set this value to `0` and the app does not receive any requests, it will scale down to zero instances."
160
160
type=number
161
161
default=0
162
162
}
163
163
164
164
variable"scale_request_timeout" {
165
-
description="The amount of time in seconds that is allowed for a running app to respond to a request."
165
+
description="The amount of time in seconds during which a running app can respond to a request."
166
166
type=number
167
167
default=300
168
168
}
169
169
170
170
variable"config_maps" {
171
-
description="A map of code engine config maps to be created. Example: { configmap_name: {data: {key_1: 'value_1' }}}"
171
+
description="A map of the IBM Cloud Code Engine configmaps to create. For example, `{ configmap_name: {data: {key_1: 'value_1' }}}`."
172
172
type=map(object({
173
173
data =map(string)
174
174
}))
175
175
default={}
176
176
}
177
177
178
178
variable"secrets" {
179
-
description="A map of code engine secrets to be created. Example: { secret_name: {format: 'generic', data: {key_1: 'value_1' }}}"
179
+
description="A map of the IBM Cloud Code Engine secrets to create. For example, `{ secret_name: {format: 'generic', data: {key_1: 'value_1' }}}`."
180
180
type=map(object({
181
181
format =string
182
182
data =map(string)
@@ -197,7 +197,7 @@ variable "secrets" {
197
197
}
198
198
199
199
variable"domain_mappings" {
200
-
description="A map of code engine domain mappings to be created. Example: { domain_mapping_name: {tls_secret: 'tls_secret_name', components: [{ name : 'app_name', resource_type: 'app_v2'}]}}"# pragma: allowlist secret
200
+
description="A map of the IBM Cloud Code Engine domain mappings to create. For example, `{ domain_mapping_name: {tls_secret: 'tls_secret_name', components: [{ name : 'app_name', resource_type: 'app_v2'}]}}`."# pragma: allowlist secret
201
201
type=map(object({
202
202
tls_secret =string# pragma: allowlist secret
203
203
components =list(object({
@@ -209,7 +209,7 @@ variable "domain_mappings" {
209
209
}
210
210
211
211
variable"bindings" {
212
-
description="A map of code engine bindings to be created. Example: { 'PREFIX': {secret_name: 'secret_name', components: [{ name : 'app_name', resource_type: 'app_v2'}]}}"
212
+
description="A map of the IBM Cloud Code Engine bindings to create. For example, `{ 'PREFIX': {secret_name: 'secret_name', components: [{ name : 'app_name', resource_type: 'app_v2'}]}}`."
0 commit comments