Skip to content

Commit

Permalink
Updated readme docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorna-Kelly committed Sep 23, 2022
1 parent d769bfd commit fcb457a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/docs/r/database.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ resource "ibm_database" "<your_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}"
}
```
Expand Down Expand Up @@ -99,7 +99,7 @@ resource "ibm_database" "<your_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}"
}
```
Expand Down Expand Up @@ -150,7 +150,7 @@ resource "ibm_database" "<your_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}"
}
```
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit fcb457a

Please sign in to comment.