cockroachdb / terraform-provider-cockroach

Terraform provider for CockroachDB Cloud
Apache License 2.0
55 stars 10 forks source link

Specify cockroach_connection_string connection_params attributes in docs #130

Closed stong88 closed 11 months ago

stong88 commented 1 year ago

When trying to get just the host uri of a cluster, the most straightforward option seems to be connection_params from cockroach_connection_string -- but the documentation only lists connection_params as a "map of string" without specifying its attributes. The underlying cockroach API documentation actually doesn't specify it either, you need to manually call the API to get the parameters. Can we specify the connection_params attributes in the documentation? From calling the cockroach API manually, I got Database, Host, and Port.

erademacher commented 11 months ago

Thanks for the suggestion! This has been incorporated with v1.0.0, which is now available.