frostmoln_valkey_instance (Data Source)
Look up a managed Valkey instance by ID.
Example Usage
terraform
data "frostmoln_valkey_instance" "cache" {
id = "valkey-abc123"
}
output "valkey_private_ip" {
value = data.frostmoln_valkey_instance.cache.private_ip
}
output "valkey_port" {
value = data.frostmoln_valkey_instance.cache.port
}Schema
Required
id(String) The unique identifier of the Valkey instance.
Read-Only
admin_username(String) The admin username for the Valkey instance.created_at(String) The timestamp when the instance was created.eviction_policy(String) The eviction policy of the Valkey instance.flavor_id(String) The flavor/size of the Valkey instance.name(String) The name of the Valkey instance.persistence_mode(String) The persistence mode of the Valkey instance.port(Number) The port number the Valkey instance is listening on.private_ip(String) The private IP address of the Valkey instance.status(String) The current status of the Valkey instance.subnet_id(String) The subnet ID where the Valkey instance is deployed.updated_at(String) The timestamp when the instance was last updated.version(String) The Valkey version.vpc_id(String) The VPC ID where the Valkey instance is deployed.