Terraform support for Vertex AI Stay organized with collections Save and categorize content based on your preferences.
Terraform has a declarative and configuration-oriented syntax,which you can use to describe the infrastructure that you want to provision inyour Vertex AI project. After you author this configuration inone or more Terraform configuration files, you can use the Terraform CLI to apply this configuration to your Vertex AI resources.
Consider a scenario where you want to apply a standardized configuration tomultiple Vertex AI resources of a specific type. UsingTerraform, you can streamline the entire process, as follows:
Describe the selected infrastructure in a Terraform configuration file.You don't need to author code describing how to provision this configurationusing objects and methods from the Vertex AI API.
Use Terraform to evaluate your Terraform configuration and generatean execution plan. Based on this configuration, Terraform indicateswhat changes it plans to make to the Vertex AI infrastructure.
Use Terraform to apply the changes in the execution plan.Terraform invokes the Vertex AI API in the background to applythe planned changes.
If a Vertex AI resource or infrastructure object defined inthe Terraform configuration does not exist, Terraform creates it.
If a Vertex AI resource or infrastructure object exists buthas a different configuration, Terraform updates it to match yourTerraform configuration.
If any Vertex AI resource or infrastructure object matches your Terraform configuration, Terraform leaves it unchanged.
Terraform resources available for Vertex AI
Terraform resources represent infrastructure objects. The following table lists the Terraform resources that are available for Vertex AI products and services, along with links to Terraform configuration samples:
Learn more about Terraform
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-18 UTC.