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
| <aname="input_custom_credentials_configurations"></a> [custom\_credentials\_configurations](#input\_custom\_credentials\_configurations)| The name of the custom credentials secret configuration. |`string`|`null`| no |
205
+
| <aname="input_custom_credentials_parameters"></a> [custom\_credentials\_parameters](#input\_custom\_credentials\_parameters)| Whether to create parameters for custom credentials secret or not |`bool`|`false`| no |
203
206
| <aname="input_custom_metadata"></a> [custom\_metadata](#input\_custom\_metadata)| Optional metadata to be added to the secret. |`map(string)`|`null`| no |
204
207
| <aname="input_endpoint_type"></a> [endpoint\_type](#input\_endpoint\_type)| The endpoint type to communicate with the provided secrets manager instance. Possible values are `public` or `private`|`string`|`"public"`| no |
205
208
| <aname="input_imported_cert_certificate"></a> [imported\_cert\_certificate](#input\_imported\_cert\_certificate)| The TLS certificate to import. |`string`|`null`| no |
206
209
| <aname="input_imported_cert_intermediate"></a> [imported\_cert\_intermediate](#input\_imported\_cert\_intermediate)| (optional) The intermediate certificate for the TLS certificate to import. |`string`|`null`| no |
207
210
| <aname="input_imported_cert_private_key"></a> [imported\_cert\_private\_key](#input\_imported\_cert\_private\_key)| (optional) The private key for the TLS certificate to import. |`string`|`null`| no |
211
+
| <aname="input_job_parameters"></a> [job\_parameters](#input\_job\_parameters)| The parameters that are passed to the Code Engine job. | <pre>object({<br/> integer_values = optional(map(number))<br/> string_values = optional(map(string))<br/> boolean_values = optional(map(bool))<br/> })</pre> |`{}`| no |
208
212
| <aname="input_region"></a> [region](#input\_region)| The region where the Secrets Manager instance is deployed. |`string`| n/a | yes |
209
213
| <aname="input_secret_auto_rotation"></a> [secret\_auto\_rotation](#input\_secret\_auto\_rotation)| Whether to configure automatic rotation. Applies only to the `username_password` and `service_credentials` secret types. |`bool`|`true`| no |
210
214
| <aname="input_secret_auto_rotation_interval"></a> [secret\_auto\_rotation\_interval](#input\_secret\_auto\_rotation\_interval)| Specifies the rotation interval for the rotation unit. |`number`|`89`| no |
@@ -215,7 +219,7 @@ No modules.
215
219
| <aname="input_secret_labels"></a> [secret\_labels](#input\_secret\_labels)| Labels of the secret to create. Up to 30 labels can be created. Labels can be 2 - 30 characters, including spaces. Special characters that are not permitted include the angled brackets (<>), comma (,), colon (:), ampersand (&), and vertical pipe character (\|). |`list(string)`|`[]`| no |
216
220
| <aname="input_secret_name"></a> [secret\_name](#input\_secret\_name)| Name of the secret to create. |`string`| n/a | yes |
217
221
| <aname="input_secret_payload_password"></a> [secret\_payload\_password](#input\_secret\_payload\_password)| The payload (for arbitrary secrets) or password (for username and password credentials) of the secret. |`string`|`""`| no |
218
-
| <aname="input_secret_type"></a> [secret\_type](#input\_secret\_type)| Type of secret to create, must be one of: arbitrary, username\_password, imported\_cert, service\_credentials |`string`| n/a | yes |
222
+
| <aname="input_secret_type"></a> [secret\_type](#input\_secret\_type)| Type of secret to create, must be one of: arbitrary, username\_password, imported\_cert, service\_credentials, custom\_credentials|`string`| n/a | yes |
219
223
| <aname="input_secret_username"></a> [secret\_username](#input\_secret\_username)| Username of the secret to create. Applies only to `username_password` secret types. When `null`, an `arbitrary` secret is created. |`string`|`null`| no |
220
224
| <aname="input_secrets_manager_guid"></a> [secrets\_manager\_guid](#input\_secrets\_manager\_guid)| The instance ID of the Secrets Manager instance where the secret will be added. |`string`| n/a | yes |
221
225
| <aname="input_service_credentials_existing_serviceid_crn"></a> [service\_credentials\_existing\_serviceid\_crn](#input\_service\_credentials\_existing\_serviceid\_crn)| The optional parameter 'serviceid\_crn' for creating service credentials. If not passed in, a new Service ID will be created. For more information see https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_service_credentials_secret#parameters|`string`|`null`| no |
@@ -234,7 +238,7 @@ No modules.
234
238
| <aname="output_secret_id"></a> [secret\_id](#output\_secret\_id)| ID of the created Secret |
235
239
| <aname="output_secret_next_rotation_date"></a> [secret\_next\_rotation\_date](#output\_secret\_next\_rotation\_date)| Next rotation date for secret (if applicable) |
236
240
| <aname="output_secret_rotation"></a> [secret\_rotation](#output\_secret\_rotation)| Status of auto-rotation for secret |
237
-
| <aname="output_secret_rotation_interval"></a> [secret\_rotation\_interval](#output\_secret\_rotation\_interval)| Rotation frecuency for secret (if applicable) |
241
+
| <aname="output_secret_rotation_interval"></a> [secret\_rotation\_interval](#output\_secret\_rotation\_interval)| Rotation frequency for secret (if applicable) |
Copy file name to clipboardExpand all lines: examples/complete/variables.tf
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ variable "ibmcloud_api_key" {
7
7
variable"prefix" {
8
8
type=string
9
9
description="Prefix to use for naming of all resource created by this example"
10
-
default="test-sm-secret-module"
10
+
default="sm-secret-complete"
11
11
}
12
12
13
13
variable"sm_service_plan" {
@@ -19,7 +19,7 @@ variable "sm_service_plan" {
19
19
variable"region" {
20
20
type=string
21
21
description="Region to provision Secrets Manager in if not passing a value for var.existing_sm_instance_guid"
22
-
default="au-syd"
22
+
default="us-south"# Region is defaulted to us-south so as to restrict the code engine project to be created in the same region and have a hardcoded output image as `private.us`
23
23
}
24
24
25
25
variable"resource_group" {
@@ -36,7 +36,7 @@ variable "resource_tags" {
36
36
37
37
variable"existing_sm_instance_guid" {
38
38
type=string
39
-
description="Existing Secrets Manager GUID. If not provided an new instance will be provisioned"
39
+
description="Existing Secrets Manager GUID. If not provided an new instance will be provisioned. If existing_sm_instance_guid needs to be used make sure the instance passed belongs to us-south region"
0 commit comments