google_vertex_ai_featurestore

A collection of DataItems and Annotations on them.

To get more information about Featurestore, see:

Example Usage - Vertex Ai Featurestore

resource "google_vertex_ai_featurestore" "featurestore" {
  name     = "terraform"
  labels = {
    foo = "bar"
  }
  region   = "us-central1"
  online_serving_config {
    fixed_node_count = 2
  }
  encryption_spec {
    kms_key_name = "kms-name"
  }
  force_destroy = true
}

Example Usage - Vertex Ai Featurestore With Beta Fields

resource "google_vertex_ai_featurestore" "featurestore" {
  provider = google-beta
  name     = "terraform2"
  labels = {
    foo = "bar"
  }
  region   = "us-central1"
  online_serving_config {
    fixed_node_count = 2
  }
  encryption_spec {
    kms_key_name = "kms-name"
  }
  online_storage_ttl_days = 30
  force_destroy = true
}

Example Usage - Vertex Ai Featurestore Scaling

resource "google_vertex_ai_featurestore" "featurestore" {
  name     = "terraform3"
  labels = {
    foo = "bar"
  }
  region   = "us-central1"
  online_serving_config {
    scaling {
      min_node_count = 2
      max_node_count = 10
    }
  }
  encryption_spec {
    kms_key_name = "kms-name"
  }
  force_destroy = true
}

Argument Reference

The following arguments are supported:


The online_serving_config block supports:

The scaling block supports:

The encryption_spec block supports:

Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

Timeouts

This resource provides the following Timeouts configuration options:

Import

Featurestore can be imported using any of these accepted formats:

In Terraform v1.5.0 and later, use an import block to import Featurestore using one of the formats above. For example:

import {
  id = "projects/{{project}}/locations/{{region}}/featurestores/{{name}}"
  to = google_vertex_ai_featurestore.default
}

When using the terraform import command, Featurestore can be imported using one of the formats above. For example:

$ terraform import google_vertex_ai_featurestore.default projects/{{project}}/locations/{{region}}/featurestores/{{name}}
$ terraform import google_vertex_ai_featurestore.default {{project}}/{{region}}/{{name}}
$ terraform import google_vertex_ai_featurestore.default {{region}}/{{name}}
$ terraform import google_vertex_ai_featurestore.default {{name}}

User Project Overrides

This resource supports User Project Overrides.