terraform-provider-stackitp.../docs/data-sources/redis_credential.md
2024-04-16 13:41:42 +01:00

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)
  • id (String) Terraform's internal data source. identifier. It is structured as "project_id,instance_id,credential_id".
  • load_balanced_host (String)
  • password (String, Sensitive)
  • port (Number)
  • uri (String) Connection URI. Currently the returned uri doesn't support SSL, but you can enable it by using rediss:// instead of redis://. We will provide the SSL connection in a future release
  • username (String)