google_vertex_ai_featurestore_entitytype

An entity type is a type of object in a system that needs to be modeled and have stored information about. For example, driver is an entity type, and driver0 is an instance of an entity type driver.

To get more information about FeaturestoreEntitytype, see:

Example Usage - Vertex Ai Featurestore Entitytype

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"
  }
}

resource "google_vertex_ai_featurestore_entitytype" "entity" {
  name     = "terraform"
  labels = {
    foo = "bar"
  }
  description = "test description"
  featurestore = google_vertex_ai_featurestore.featurestore.id
  monitoring_config {
    snapshot_analysis {
      disabled = false
      monitoring_interval_days = 1
      staleness_days = 21
    }
    numerical_threshold_config {
      value = 0.8
    }
    categorical_threshold_config {
      value = 10.0
    }
    import_features_analysis {
      state = "ENABLED"
      anomaly_detection_baseline = "PREVIOUS_IMPORT_FEATURES_STATS"
    }
  }
}

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

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
    }
  }
  offline_storage_ttl_days = 30
}

Argument Reference

The following arguments are supported:


The monitoring_config block supports:

The snapshot_analysis block supports:

The import_features_analysis block supports:

The numerical_threshold_config block supports:

The categorical_threshold_config 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

FeaturestoreEntitytype can be imported using any of these accepted formats:

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

import {
  id = "{{featurestore}}/entityTypes/{{name}}"
  to = google_vertex_ai_featurestore_entitytype.default
}

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

$ terraform import google_vertex_ai_featurestore_entitytype.default {{featurestore}}/entityTypes/{{name}}