google_vertex_ai_featurestore_entitytype_feature

Feature Metadata information that describes an attribute of an entity type. For example, apple is an entity type, and color is a feature that describes apple.

To get more information about FeaturestoreEntitytypeFeature, see:

Open in Cloud Shell

Example Usage - Vertex Ai Featurestore Entitytype Feature

resource "google_vertex_ai_featurestore" "featurestore" {
  name     = "terraform"
  labels = {
    foo = "bar"
  }
  region   = "us-central1"
  online_serving_config {
    fixed_node_count = 2
  }
}

resource "google_vertex_ai_featurestore_entitytype" "entity" {
  name     = "terraform"
  labels = {
    foo = "bar"
  }
  featurestore = google_vertex_ai_featurestore.featurestore.id
}

resource "google_vertex_ai_featurestore_entitytype_feature" "feature" {
  name     = "terraform"
  labels = {
    foo = "bar"
  }
  entitytype = google_vertex_ai_featurestore_entitytype.entity.id

  value_type = "INT64_ARRAY"
}
Open in Cloud Shell

Example Usage - Vertex Ai Featurestore Entitytype Feature 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
  }
}

resource "google_vertex_ai_featurestore_entitytype" "entity" {
  provider = google-beta
  name     = "terraform2"
  labels = {
    foo = "bar"
  }
  featurestore = google_vertex_ai_featurestore.featurestore.id
  monitoring_config {
    snapshot_analysis {
      disabled = false
      monitoring_interval = "86400s"
    }

    categorical_threshold_config {
      value = 0.3
    }

    numerical_threshold_config {
      value = 0.3
    }
  }
}

resource "google_vertex_ai_featurestore_entitytype_feature" "feature" {
  provider = google-beta
  name     = "terraform2"
  labels = {
    foo = "bar"
  }
  entitytype = google_vertex_ai_featurestore_entitytype.entity.id

  value_type = "INT64_ARRAY"
}

Argument Reference

The following arguments are supported:


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

FeaturestoreEntitytypeFeature can be imported using any of these accepted formats:

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

import {
  id = "{{entitytype}}/features/{{name}}"
  to = google_vertex_ai_featurestore_entitytype_feature.default
}

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

$ terraform import google_vertex_ai_featurestore_entitytype_feature.default {{entitytype}}/features/{{name}}