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
Copy file name to clipboardExpand all lines: modules/fscloud/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,7 @@ No resources.
45
45
| <aname="input_members"></a> [members](#input\_members)| Allocated number of members. Members can be scaled up but not down. |`number`|`3`| no |
46
46
| <aname="input_mysql_version"></a> [mysql\_version](#input\_mysql\_version)| Version of the MySQL instance. If no value is passed, the current preferred version of IBM Cloud Databases is used. |`string`|`null`| no |
47
47
| <aname="input_region"></a> [region](#input\_region)| The region where you want to deploy your instance. Must be the same region as the Hyper Protect Crypto Services instance. |`string`|`"us-south"`| no |
48
+
| <aname="input_remote_leader_crn"></a> [remote\_leader\_crn](#input\_remote\_leader\_crn)| A CRN of the leader database to make the replica(read-only) deployment. The leader database is created by a database deployment with the same service ID. A read-only replica is set up to replicate all of your data from the leader deployment to the replica deployment by using asynchronous replication. For more information, see https://cloud.ibm.com/docs/databases-for-mysql?topic=databases-for-mysql-read-replicas|`string`|`null`| no |
48
49
| <aname="input_resource_group_id"></a> [resource\_group\_id](#input\_resource\_group\_id)| The resource group ID where the MySQL instance will be created. |`string`| n/a | yes |
49
50
| <aname="input_resource_tags"></a> [resource\_tags](#input\_resource\_tags)| Optional list of tags to be added to the MySQL instance. |`list(string)`|`[]`| no |
50
51
| <aname="input_service_credential_names"></a> [service\_credential\_names](#input\_service\_credential\_names)| Map of name, role for service credentials that you want to create for the database |`map(string)`|`{}`| no |
Copy file name to clipboardExpand all lines: modules/fscloud/variables.tf
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,12 @@ variable "region" {
24
24
default="us-south"
25
25
}
26
26
27
+
variable"remote_leader_crn" {
28
+
type=string
29
+
description="A CRN of the leader database to make the replica(read-only) deployment. The leader database is created by a database deployment with the same service ID. A read-only replica is set up to replicate all of your data from the leader deployment to the replica deployment by using asynchronous replication. For more information, see https://cloud.ibm.com/docs/databases-for-mysql?topic=databases-for-mysql-read-replicas"
Copy file name to clipboardExpand all lines: solutions/standard/DA-types.md
+7-11Lines changed: 7 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ In the configuration, specify the secret group name, whether it already exists o
56
56
#### Options for service_credentials
57
57
58
58
-`secret_name`: (required): A unique human-readable name of the secret to create.
59
-
-`service_credentials_source_service_role`: (required): The role to give the service credential in the Databases for MySQL service. Acceptable values are `Writer`, `Reader`, `Manager`, and `None`
59
+
-`service_credentials_source_service_role_crn`: (required): The CRN of the role to give the service credential in the IBM Cloud Database service. Service credentials role CRNs can be found at https://cloud.ibm.com/iam/roles, select the IBM Cloud Database and select the role.
60
60
-`secret_labels`: (optional, default = `[]`): 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 (|).
61
61
-`secret_auto_rotation`: (optional, default = `true`): Whether to configure automatic rotation of service credential.
62
62
-`secret_auto_rotation_unit`: (optional, default = `day`): Specifies the unit of time for rotation of a secret. Acceptable values are `day` or `month`.
@@ -70,11 +70,11 @@ The following example includes all the configuration options for four service cr
Copy file name to clipboardExpand all lines: solutions/standard/variables.tf
+18-13Lines changed: 18 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,12 @@ variable "region" {
36
36
default="us-south"
37
37
}
38
38
39
+
variable"remote_leader_crn" {
40
+
type=string
41
+
description="A CRN of the leader database to make the replica(read-only) deployment. The leader database is created by a database deployment with the same service ID. A read-only replica is set up to replicate all of your data from the leader deployment to the replica deployment by using asynchronous replication. [Learn more](https://cloud.ibm.com/docs/databases-for-mysql?topic=databases-for-mysql-read-replicas)"
42
+
default=null
43
+
}
44
+
39
45
variable"mysql_version" {
40
46
description="The version of the Databases for MySQL instance. If no value is specified, the current preferred version of Databases for MySQL is used."
description="Service credential secrets configuration for Databases for MySQL. [Learn more](https://github.com/terraform-ibm-modules/terraform-ibm-icd-mysql/tree/main/solutions/standard/DA-types.md#service-credential-secrets)."
279
285
280
286
validation {
287
+
# Service roles CRNs can be found at https://cloud.ibm.com/iam/roles, select the IBM Cloud Database and select the role
0 commit comments