Terraform support for Vertex AI

Terraform is aninfrastructure as code (IaC) tool that you can useto provision resources and permissions for multiple Google Cloud services,including Vertex AI.

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:

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:

Vertex AI product or serviceTerraform resourceTerraform configuration samples
Vertex AI Workbenchgoogle_notebooks_environment
google_notebooks_instance_iam
google_notebooks_location
google_notebooks_runtimeView in GitHub
google_notebooks_runtime_iam
google_workbench_instanceView in GitHub
Vertex AI managed datasetsgoogle_vertex_ai_datasetView in GitHub
Online inferences (AutoML and custom training)google_vertex_ai_endpointView in GitHub
Model Gardengoogle_vertex_ai_endpoint_with_model_garden_deployment
Vertex AI Feature Storegoogle_vertex_ai_feature_group
google_vertex_ai_feature_group_feature
google_vertex_ai_feature_online_store
google_vertex_ai_feature_online_store_featureview
Vertex AI Feature Store (Legacy)google_vertex_ai_featurestoreView in GitHub
google_vertex_ai_featurestore_entitytypeView in GitHub
google_vertex_ai_featurestore_entitytype_feature
google_vertex_ai_featurestore_iam
Vertex ML Metadatagoogle_vertex_ai_metadata_storeView in GitHub
Vector Searchgoogle_vertex_ai_indexView in GitHub
google_vertex_ai_index_endpoint
google_vertex_ai_index_endpoint_deployed_index
Vertex AI TensorBoardgoogle_vertex_ai_tensorboardView in GitHub

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.