All Products
Search
Document Center

Realtime Compute for Apache Flink:Terraform

Last Updated:Jun 15, 2026

Realtime Compute for Apache Flink integrates with Terraform, allowing you to provision and manage Flink resources as code.

Background information

Basic features

Terraform is an Infrastructure as Code (IaC) tool that lets you define and configure cloud infrastructure through code instead of manual operations. For more information, see What is Alibaba Cloud Terraform?

  • Terraform provides an easy-to-use CLI that allows you to deploy configuration files on the workloads of Alibaba Cloud services or third-party cloud services and manage the versions of the configuration files. Terraform allows you to define the infrastructure resources that are required to build cloud topologies in configuration files. The resources include virtual machines (VMs), storage accounts, and network interfaces.

  • Terraform uses providers to support new infrastructure. You can use a simple template language to define, preview, and deploy cloud infrastructure on Alibaba Cloud.

  • Terraform allows you to create, modify, and delete the resources of multiple Alibaba Cloud services, such as Elastic Compute Services (ECS), Virtual Private Cloud (VPC), ApsaraDB RDS, and Server Load Balancer (SLB).

Scenarios

Terraform allows you to define infrastructure as code and use code to create, query, modify, and delete infrastructure resources. For information about the examples on how to use Terraform to manage the resources of Alibaba Cloud services, see Scenarios.

Benefits

For more information about the benefits of Terraform in common scenarios, see What is Alibaba Cloud Terraform?.

When used with Realtime Compute for Apache Flink, Terraform provides the following benefits:

  • Declarative Infrastructure as Code

    • Supports workspace management.

    • Write infrastructure code without interacting directly with APIs.

  • Terraform ecosystem

    • LiveDiff capability for safer management of Realtime Compute for Apache Flink resources.

    • Stable convergence to the desired deployment state.

    • Deploy Realtime Compute for Apache Flink and required cloud resources in a single configuration, improving the efficiency of website building.

Install and configure Terraform

Only Terraform 1.214.0 and later support managing Realtime Compute for Apache Flink resources.

Manage resources using Terraform

The following table lists the Realtime Compute for Apache Flink resources you can manage with Terraform.

Resource type

Description

alicloud_realtime_compute_vvp_instance

Workspace resources

alicloud_realtime_compute_job

Job resources

alicloud_realtime_compute_deployment

Deployment resources