confluent_flink_compute_pool
describes a Flink Compute Pool data source.
data "confluent_flink_compute_pool" "example_using_id" {
id = "lfcp-abc123"
environment {
id = "env-xyz456"
}
}
output "example_using_id" {
value = data.confluent_flink_compute_pool.example_using_id
}
data "confluent_flink_compute_pool" "example_using_name" {
display_name = "my_compute_pool"
environment {
id = "env-xyz456"
}
}
output "example_using_name" {
value = data.confluent_flink_compute_pool.example_using_name
}
The following arguments are supported:
id
- (Optional String) The ID of the Flink Compute Pool, for example, lfcp-abc123
.display_name
- (Optional String) A human-readable name for the Flink Compute Pool.environment
(Required Configuration Block) supports the following:
id
- (Required String) The ID of the Environment that the Flink Compute Pool belongs to, for example, env-xyz456
.In addition to the preceding arguments, the following attributes are exported:
id
- (Required String) The ID of the Flink Compute Pool, for example, lfcp-abc123
.display_name
- (Required String) The name of the Flink Compute Pool.cloud
- (Required String) The cloud service provider that runs the Flink Compute Pool.region
- (Required String) The cloud service provider region that hosts the Flink Compute Pool.max_cfu
- (Required Integer) Maximum number of Confluent Flink Units (CFUs) that the Flink compute pool should auto-scale to.environment
(Required Configuration Block) supports the following:
id
- (Required String) The ID of the Environment that the Flink Compute Pool belongs to, for example, env-abc123
.api_version
- (Required String) The API Version of the schema version of the Flink Compute Pool, for example, fcpm/v2
.kind
- (Required String) The kind of the Flink Compute Pool, for example, ComputePool
.resource_name
- (Required String) The Confluent Resource Name of the Flink Compute Pool.