diff --git a/website/docs/r/database.html.markdown b/website/docs/r/database.html.markdown
index 8b52811ab0..df23817e9d 100644
--- a/website/docs/r/database.html.markdown
+++ b/website/docs/r/database.html.markdown
@@ -61,7 +61,7 @@ resource "ibm_database" "" {
}
output "ICD Etcd database connection string" {
- value = "http://${ibm_database.test_acc.connectionstrings[0].composed}"
+ value = "http://${ibm_database.test_acc.ibm_database_connection.icd_conn}"
}
```
@@ -99,7 +99,7 @@ resource "ibm_database" "" {
}
output "ICD Etcd database connection string" {
- value = "http://${ibm_database.test_acc.connectionstrings[0].composed}"
+ value = "http://${ibm_database.test_acc.ibm_database_connection.icd_conn}"
}
```
@@ -150,7 +150,7 @@ resource "ibm_database" "" {
}
output "ICD Etcd database connection string" {
- value = "http://${ibm_database.test_acc.connectionstrings[0].composed}"
+ value = "http://${ibm_database.test_acc.ibm_database_connection.icd_conn}"
}
```
@@ -611,7 +611,7 @@ In addition to all argument references list, you can access the following attrib
- `adminuser` - (String) The user ID of the database administrator. Example, `admin` or `root`.
- `configuration_schema` (String) Database Configuration Schema in JSON format.
-- `connectionstrings` - (Array) A list of connection strings for the database for each user ID. For more information, about how to use connection strings, see the [documentation](https://cloud.ibm.com/docs/databases-for-postgresql?topic=databases-for-postgresql-connection-strings). The results are returned in pairs of the userid and string: `connectionstrings.1.name = admin connectionstrings.1.string = postgres://admin:$PASSWORD@79226bd4-4076-4873-b5ce-b1dba48ff8c4.b8a5e798d2d04f2e860e54e5d042c915.databases.appdomain.cloud:32554/ibmclouddb?sslmode=verify-full` Individual string parameters can be retrieved by using Terraform variables and outputs `connectionstrings.x.hosts.x.port` and `connectionstrings.x.hosts.x.host`.
+- `connectionstrings` - **Deprecated** - (Array) A list of connection strings for the database for each user ID - replaced by `bm_database_connection`. For more information, about how to use connection strings, see the [documentation](https://cloud.ibm.com/docs/databases-for-postgresql?topic=databases-for-postgresql-connection-strings). The results are returned in pairs of the userid and string: `connectionstrings.1.name = admin connectionstrings.1.string = postgres://admin:$PASSWORD@79226bd4-4076-4873-b5ce-b1dba48ff8c4.b8a5e798d2d04f2e860e54e5d042c915.databases.appdomain.cloud:32554/ibmclouddb?sslmode=verify-full` Individual string parameters can be retrieved by using Terraform variables and outputs `connectionstrings.x.hosts.x.port` and `connectionstrings.x.hosts.x.host`.
- `id` - (String) The CRN of the database instance.
- `status` - (String) The status of the instance.
- `version` - (String) The database version.