confluent_flink_compute_pool Resource

General Availability

confluent_flink_compute_pool provides a Flink Compute Pool resource that enables creating, editing, and deleting Flink Compute Pool on Confluent Cloud.

Example Usage

resource "confluent_environment" "development" {
  display_name = "Development"
}

resource "confluent_flink_compute_pool" "main" {
  display_name     = "standard_compute_pool"
  cloud            = "AWS"
  region           = "us-east-1"
  max_cfu          = 5
  environment {
    id = confluent_environment.development.id
  }
}

Argument Reference

The following arguments are supported:

Attributes Reference

In addition to the preceding arguments, the following attributes are exported:

Import

You can import a Flink Compute Pool by using Environment ID and Flink Compute Pool ID, in the format <Environment ID>/<Flink Compute Pool ID>. The following example shows how to import a Flink Compute Pool:

$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
$ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
$ terraform import confluent_flink_compute_pool.main env-abc123/lfcp-abc123