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