* Update documentation * Update stackit/internal/services/redis/credential/resource.go Co-authored-by: João Palet <joao.palet@outlook.com> * Add more info * Update datasource --------- Co-authored-by: João Palet <joao.palet@outlook.com>
1.4 KiB
1.4 KiB
| page_title | subcategory | description |
|---|---|---|
| stackit_redis_credential Data Source - stackit | Redis credential data source schema. Must have a region specified in the provider configuration. |
stackit_redis_credential (Data Source)
Redis credential data source schema. Must have a region specified in the provider configuration.
Example Usage
data "stackit_redis_credential" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
credential_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Schema
Required
credential_id(String) The credential's ID.instance_id(String) ID of the Redis instance.project_id(String) STACKIT project ID to which the instance is associated.
Read-Only
host(String)hosts(List of String)http_api_uri(String)id(String) Terraform's internal data source. identifier. It is structured as "project_id,instance_id,credential_id".name(String)password(String, Sensitive)port(Number)uri(String) Connection URI. Currently the returned uri doesn't support SSL, but you can enable it by usingrediss://instead ofredis://. We will provide the SSL connection in a future releaseusername(String)